At 17.09 07/05/2004 +0200, Heeg, Michael wrote:
Thanks,

now I can compile and run the code, but I encountered another problem: After
the "parseURI" call, the error handler returns the following error:
"The schemaLocation attribute does not contain pairs of values". (line 2,
column 9)

What does this mean? When I call "getProperty" (see note below), it returns
the correct URI of my schema?!

The syntax for the schemaLocation property is a space separated list of pairs "namespace","schema file": in a kind of EBNF notation it could be


<Namespace URI> <space> <file location> [<space> <Namespace URI> <space> <file location>]*

Clearly, the "file location" should not include spaces inside it

Alberto

Regards,
Michael


P.S.: The URL http://xml.apache.org/xerces-c/program-dom.html#DOMBuilderProperties contains an error: The section "Property values can be queried using the function void* DOMBuilder::getFeature(const XMLCh* const). The parser owns the..." The referenced function should be "DOMBuilder::getProperty(...)".



Hi,


m_domBuilder.setProperty(PropertyName, (void*)PropertyValue)



where PropertyName is specified in the URL I gave and PropertyValue is your location.

Gareth

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to