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 "Martinetti, Fabio" <fa...@sap.com> on 2002/03/07 18:19:46 UTC
SAX2 validation with schema
Hi
How can i inform the SAX2 parser where to find the schema file,
if in the message to parse there is no schema location?
i tried the following implementation:
SAX2XMLReader* myParser = XMLReaderFactory::createXMLReader();
....
myParser->setProperty(XMLString::transcode("http://apache.org/xml
/properties/schema/external-noNamespaceSchemaLocation"),
XMLString::transcode("file:///unittest/queryinvoice02.xsd"));
but i got a stack overflow!
can anybody help me??
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org