With latest XML 2009 I get weird schema validation faliures. I do not get these failures with Visual Studio and other XML validation tools.
Here is a ZIP example that shows two or three modes of failure.
uploads/2497/testme.zip
contains testme.xml and testme.xsd which has been generated fom the xml so it should be an exact match.
Load xml then select validate and choose xsd to see error. If you fix errors as they are displayed the error will just move further into document.
Removing comments fixes one layer of errors but then another set of odd errors occur:
Parser Errors:
MS Parser reported this error:Code = 0xc00ce014Source = Line : 15 Char : 3aError Description = Element content is invalid according to the DTD/Schema.Expecting: txt.
Source text where the error occured:
<attr name="IMPACT" value="POSSIBLE INSTANCE FAILURE"/>---------------------------------------------------------^
Copying items from teh 'Output' Window is extremely unreliable and difficult.
PrimalXML schema validation fails
Forum rules
Do not post any licensing information in this forum.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Do not post any licensing information in this forum.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.