xml validation against a schema/DTD passed in as a string

2004-10-27 Thread Xiaofan Zhou
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

[jira] Commented: (XERCESC-1295) DOMWriter unlimited loop when document has CDATA section

2004-10-27 Thread Alberto Massari (JIRA)
[ http://issues.apache.org/jira/browse/XERCESC-1295?page=comments#action_54691 ] Alberto Massari commented on XERCESC-1295: -- Hi, I have tried reproducing the error on Windows, using "DOMPrint -wenc=utf-8 cdata.xml", that should be doing the sa

Re: xml validation against a schema/DTD passed in as a string

2004-10-27 Thread Gareth Reakes
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++