XML & XSD Schema validation - "all"

A

Adam Clauss

I'm running into a problem with schema validation. For some reason, if a
schema has an xs:all section to it, it does not validate correctly. It
seems to treat it as a sequence. My understanding is that switching to an
xs:all should not require that the child elements be in any particular
order - yet that is exactly the error I am seeing.

I've tested this on both .NET 1.1 and .NET 2.0 and I get the same error.
The XML validates against the xs:all schema just fine in XMLSpy 2005.

Any ideas?
 
V

vj

Interesting.... i have not had this problem.. i do the same... uhmm, .NET
1.0 and above use MSXML.. are you aware of that?

VJ
 
A

Adam Clauss

vj said:
Interesting.... i have not had this problem.. i do the same... uhmm, .NET
1.0 and above use MSXML.. are you aware of that?

VJ

Would you mind posting a short snippet of the code you are using to
validate?
I've gone round and around with this, and I just can't figure it out.
Our code basically matches the other samples I've found, but none of those
samples mentioned trying against xs:all either.
 
V

vj

If you have what the samples have... then, that is what I have... nothing
different... I am thinking this more of mismatch of DLL file... just
thinking how do we track it..., do u have a sample..? I can run on my
machine, see if I get it..

VJ
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top