Support Forums

PrimalXML schema validation fails

Product support for PrimalXML users
Forum rules
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE KEYS OR ANY OTHER 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.
User avatar
jvierra
Posts: 10024
Joined: Tue May 22, 2007 9:57 am
Contact:

PrimalXML schema validation fails

Postby jvierra » Mon Aug 30, 2010 5:41 am

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.




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 = 0xc00ce014
Source = Line : 15 Char : 3a
Error 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.

User avatar
davidc
Posts: 4452
Joined: Thu Aug 18, 2011 4:56 am

PrimalXML schema validation fails

Postby davidc » Mon Aug 30, 2010 6:36 am

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
David
SAPIEN Technologies, Inc.
User avatar
jvierra
Posts: 10024
Joined: Tue May 22, 2007 9:57 am
Contact:

PrimalXML schema validation fails

Postby jvierra » Mon Aug 30, 2010 6:50 am

MSXML 6 on XP SP2 with Visual Studio 2008 Pro
User avatar
davidc
Posts: 4452
Joined: Thu Aug 18, 2011 4:56 am

PrimalXML schema validation fails

Postby davidc » Mon Aug 30, 2010 7:13 am

PrimalXML requires 4.0 to be installed. We tested with MSXML 4.0 SP3:





David
David
SAPIEN Technologies, Inc.
User avatar
jvierra
Posts: 10024
Joined: Tue May 22, 2007 9:57 am
Contact:

PrimalXML schema validation fails

Postby jvierra » Mon Aug 30, 2010 7:53 am

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.



Return to “PrimalXML”

Who is online

Users browsing this forum: No registered users and 2 guests