xerces-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vitaly Prapirny <m...@mebius.net>
Subject Re: Help validating XML against an XSD?
Date Mon, 15 Mar 2010 15:39:31 GMT
Boris Kolpackov wrote:
> Hi Timothy,
>
> Stone, Timothy M<tstone@ida.org>  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: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


Mime
View raw message