I have an XSD against which I am validating files that my apps produce. I have a little app that uses the MS validator and it passes fine. We have also tried it against a commercial app's validator. However when I use the FinalBuilder XML Validate, it is failing. Do you have any clue as to why this might be?
The failure is the reference to a node that is in the XML that is not referenced in the XSD, but it is a child of an "allow anything node" of type which should allow anything underneath it, but is being picked up by the FinalBuilder validator.
Okay, just to let you know, I’ve done a basic test with the MS XML code directly, and it too gives this error. Therefore it must be something that Microsoft are choosing to do now. I’ll resolve it somehow, and if relevant post the answer here.
Okay, on further investigation it appears that MS XML 5 is much more strict about the xs:anyType data than it had been. IN the MSDN article entitled “Improvements in XSD Standards Compliance in MSXML 6.0” it says “Content validation for xs:anyType is now lax per the W3C Schema specification. It was strict in 5.0.”
Having moved my code to use MS XML 6, it validates again. For most people this won’t matter, but making MS XML 6 an option in FB may help.