Boris Kolpackov wrote:
Hi Timothy,

Stone, Timothy M<[email protected]>  writes:

Hm, I've given it some offort, but cannot seem to get it going.  I have a
.xsd and a .xml file, and I just want to test if the XML is compliant with
the XSD.

Seeing that this is becoming sort of a FAQ (though without a good answer),
I have written a little post plus included a couple of examples that you
may find useful:

http://www.codesynthesis.com/~boris/blog/2010/03/15/validating-external-schemas-xerces-cxx/

Boris


Another simple way to achieve the same is setting the fgXercesSchemaExternalSchemaLocation and fgXercesSchemaExternalNoNameSpaceSchemaLocation parameters (or using setExternalSchemaLocation and setExternalNoNamespaceSchemaLocation methods if available).

Good luck!
        Vitaly

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to