You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Gareth Reakes <ga...@parthenoncomputing.com> on 2004/10/27 11:02:09 UTC
Re: xml validation against a schema/DTD passed in as a string
Hi,
I don't have the 1.7 docs handy but I doubt you had that ability
then. If you take a look at DOMBuilder in a recent version of xerces
then you can call loadGrammar - 1 of the overloads takes a
DOMInputSource as the schema source.
Gareth
Xiaofan Zhou wrote:
> Hi all,
>
> I am using Xerces c++ SAX parser to process xml file. I would like to
> validation the xml file against a DTD or Schema, however, the DTD or
> the schema is passed into my application as a string. Is this
> possible? I am still using xerces version 1.7. I don't see I can use
> any of the setFeature(....) methods. Please point me to any document
> or code snippet if possible.
>
>
> Thanks much in advance.
>
> Frank
>
>
--
Gareth Reakes, Managing Director Parthenon Computing
+44-1865-811184 http://www.parthcomp.com
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org