BizTalk Server - Error while trying to Validate an Instance of a Flat File

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server > May 2004 > Error while trying to Validate an Instance of a Flat File





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Error while trying to Validate an Instance of a Flat File
ameetfanse@yahoo.com

2004-05-17, 12:43 pm

Hi,

I have a Flat file with name value pairs as given below.

Table:Deals
Deals_Id&149
DealStatus@V Valid
InputMode@C Captured
CaptureDate%02/05/2004 14:43:32
TradeDate%02/05/2004
Users_Id&116685
Users_Id_Last&116685
Folders_Id&116258
Purposes_Id&0
TypeOfEvent@N None
BlockNumber&0
TypeOfInstr_Id&1071
Comments"
Pairs_Id&280
Cpty_Id&38944
Amount1$2000000.000
Amount2$-220000000.000
FixingType@F Free
EstimatedAmount$0.000
Folders_Id_Spot1&116252
Folders_Id_Spot2&0

I have created a schema for the same and on generating an instance of
the schema in the native language, it gives me the format required.
But the problem is when i try to validate the same native instance
which was created, it gives the following error.

"Unexpected Data found while looking for '/r/n'".

I found some articles on the same which suggested that I should add
the allow_early_termination = "true" to the xs:annotation node. But
even this did not help.

Please suggest a way.

Regards,
David Downing [MSFT]

2004-05-17, 8:37 pm

Can you attach your schema and instance data for us to take a look at?

--
Dave

This posting is provided "AS IS" with no warranties, and confers no rights.

<ameetfanse@yahoo.com> wrote in message
news:c27edfd0.0405170759.81ca338@posting.google.com...
> Hi,
>
> I have a Flat file with name value pairs as given below.
>
> Table:Deals
> Deals_Id&149
> DealStatus@V Valid
> InputMode@C Captured
> CaptureDate%02/05/2004 14:43:32
> TradeDate%02/05/2004
> Users_Id&116685
> Users_Id_Last&116685
> Folders_Id&116258
> Purposes_Id&0
> TypeOfEvent@N None
> BlockNumber&0
> TypeOfInstr_Id&1071
> Comments"
> Pairs_Id&280
> Cpty_Id&38944
> Amount1$2000000.000
> Amount2$-220000000.000
> FixingType@F Free
> EstimatedAmount$0.000
> Folders_Id_Spot1&116252
> Folders_Id_Spot2&0
>
> I have created a schema for the same and on generating an instance of
> the schema in the native language, it gives me the format required.
> But the problem is when i try to validate the same native instance
> which was created, it gives the following error.
>
> "Unexpected Data found while looking for '/r/n'".
>
> I found some articles on the same which suggested that I should add
> the allow_early_termination = "true" to the xs:annotation node. But
> even this did not help.
>
> Please suggest a way.
>
> Regards,



ameetfanse@yahoo.com

2004-05-18, 10:04 am

Hi Dave,

Thanks for the reply.I am sending the schema and the instance data to you by email.

Regards,
Ameet

"David Downing [MSFT]" <ddowning@online.microsoft.com> wrote in message news:<e96iwoGPEHA.736@tk2msftngp13.phx.gbl>...[vbcol=seagreen]
> Can you attach your schema and instance data for us to take a look at?
>
> --
> Dave
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> <ameetfanse@yahoo.com> wrote in message
> news:c27edfd0.0405170759.81ca338@posting.google.com...
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com