Page 1 of 1

PrimalXML schema validation fails

Posted: Mon Aug 30, 2010 5:41 am
by jvierra
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

Posted: Mon Aug 30, 2010 6:36 am
by davidc
What OS are you running PrimalXML on?

We tested the schema on our end and it reported no error. Please note that this feature is dependent on the MSXML COM installed on your system. The application is simply reporting the error generated by MSXML.

Thank you,

David

PrimalXML schema validation fails

Posted: Mon Aug 30, 2010 6:50 am
by jvierra
MSXML 6 on XP SP2 with Visual Studio 2008 Pro

PrimalXML schema validation fails

Posted: Mon Aug 30, 2010 7:13 am
by davidc
PrimalXML requires 4.0 to be installed. We tested with MSXML 4.0 SP3:
http://www.microsoft.com/downloads/deta ... laylang=en


David

PrimalXML schema validation fails

Posted: Mon Aug 30, 2010 7:53 am
by jvierra
David

Excellent - I had SP2 but SP3 was missing for some reason. I think I had to remove it to test a product that wouldn't work beyond SP2.

Thank you - I would have been forever figuring that one out.