|
ms
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
XML & XSD Schema validation - "all"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? -- Adam Clauss 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 Show quoteHide quote "Adam Clauss" <caba***@tamu.edu> wrote in message news:121g79s9ikpb0db@corp.supernews.com... > 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? > > -- > Adam Clauss > > > "vj" <vijayba***@yahoo.com> wrote in message Would you mind posting a short snippet of the code you are using to news:O94ebWESGHA.5900@tk2msftngp13.phx.gbl... > 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 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. -- Adam Clauss 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 Show quoteHide quote "vj" <vijayba***@yahoo.com> wrote in message news:O94ebWESGHA.5900@tk2msftngp13.phx.gbl... > 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 > > "Adam Clauss" <caba***@tamu.edu> wrote in message > news:121g79s9ikpb0db@corp.supernews.com... >> 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? >> >> -- >> Adam Clauss >> >> >> > >
Other interesting topics
Reading keys from HKEY_CURRENT_USER from an impersonated Web Service
static class confirmation Assemlby.LoadForm() exception C# application listen to update random access to elements of a disk-based XML file C# connection and file access question A problem with UserControls and MessageBoxes unmoveable Form whats is parkingwindow?? Debugging referenced assembly? |
|||||||||||||||||||||||