Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Biztalk
acce.forsuppliers
acce.hipaa
acce.hl7
acce.rosettanet
accelerator.finserv
admin
appintegration
framework
general
library
nonxml
orchestration
sdk
server
setup
tools
xlangs
xsharp
  
 
date: Thu, 30 Mar 2006 13:13:09 +0200,    group: microsoft.public.biztalk.nonxml        back       


Error validating input   
Hi

I have put a zip-file with my schema and three different instances on
http://www.eliasen.dk/biztalk/blodmel.zip

I can not validate the "SRM.txt" against the schema, but I can
validate the two other instances.

The two instances differ from SRM.txt in the way that in one of them,
I have deleted the first line from the main instance and in the other
one I have deleted the last line. 

Since I can validate both the two other instances, that must mean that
both the first line and the last line are valid. But if they are both
present, everything fails.

What is happening?

-- 
Eliasen Jr. representing himself and not the company he works for.

Private email: jan@eliasen.dk

"Ford," he said, "you're turning into a penguin. Stop it."
date: Thu, 30 Mar 2006 13:13:09 +0200   author:   Jan Eliasen am

Re: Error validating input   
You have an incorrect number of fields in each record.
If you check the output of the Validate Instance you will see the last field 
NIR-32 picks up the next line.
So each <record> node needs two lines in the input file.
If you have an odd number of lines the validation will fail, by deleting the 
first or last line will mean an even number of lines and the validate works.
If you delete the last field (NIR_32) from the schema, all 3 examples will 
validate.

Greg

"Jan Eliasen" <eliasen@nospam.nospam> wrote in message 
news:1ien22lhjqcdkcnu6kfde647j6sqea41c3@4ax.com...
> Hi
>
> I have put a zip-file with my schema and three different instances on
> http://www.eliasen.dk/biztalk/blodmel.zip
>
> I can not validate the "SRM.txt" against the schema, but I can
> validate the two other instances.
>
> The two instances differ from SRM.txt in the way that in one of them,
> I have deleted the first line from the main instance and in the other
> one I have deleted the last line.
>
> Since I can validate both the two other instances, that must mean that
> both the first line and the last line are valid. But if they are both
> present, everything fails.
>
> What is happening?
>
> -- 
> Eliasen Jr. representing himself and not the company he works for.
>
> Private email: jan@eliasen.dk
>
> "Ford," he said, "you're turning into a penguin. Stop it."
date: Fri, 31 Mar 2006 01:07:05 +1200   author:   Greg Forsythe

Re: Error validating input   
On Fri, 31 Mar 2006 01:07:05 +1200, "Greg Forsythe"
 wrote:

>You have an incorrect number of fields in each record.
Right... Thanks! I can not believe I was that blind...

-- 
Eliasen Jr. representing himself and not the company he works for.

Private email: jan@eliasen.dk

"Ford," he said, "you're turning into a penguin. Stop it."
date: Wed, 05 Apr 2006 09:42:50 +0200   author:   Jan Eliasen am

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us