Hi Sven,

Sven Bauhan <[EMAIL PROTECTED]> writes:

> I parse xml data defined after a XML Schema. As this Schema is not available
> via URI, I tried to use an entity resolver, but did not manage to get it
> working.

Using external schema locations properties is probably an easier way, see:

http://xerces.apache.org/xerces-c/program-dom.html#DOMBuilderProperties

for DOMBuilder (there are similar properties for SAX).


> Without the XML Schema the xml validation gives lots of errors about unknown
> xml tags which are defined in the Schema. Is there a way to validate just
> against pure XML without paying attention to the XMLSchema?

See the validation-related property:

http://xerces.apache.org/xerces-c/program-dom.html#DOMBuilderFeatures

Boris

-- 
Boris Kolpackov
Code Synthesis Tools CC
http://www.codesynthesis.com
Open-Source, Cross-Platform C++ XML Data Binding

Reply via email to