[
https://issues.apache.org/jira/browse/XERCESC-1928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alberto Massari closed XERCESC-1928.
------------------------------------
Resolution: Invalid
In Xerces 3.0 the default for DOMLSParser is to have namespace processing
disabled, and in this case the schema import is not processed (and the
DOMLSResource is not used).
You should add a line like
conf->setParameter(XMLUni::fgDOMNamespaces,true);
to your parser setup.
In Xerces 3.1 the default is now to have namespace processing enabled, so your
test case works fine.
> DOMLSResourceResolver resolveResource() is not called unless a grammar has
> been loaded first.
> ---------------------------------------------------------------------------------------------
>
> Key: XERCESC-1928
> URL: https://issues.apache.org/jira/browse/XERCESC-1928
> Project: Xerces-C++
> Issue Type: Bug
> Affects Versions: 3.0.1, 3.1.1
> Reporter: Ben Griffin
> Attachments: bim.xsd, foo.xml, main.cpp
>
>
> Probably best to look at the example files.
> resolveResource() is not being called unless some grammar has been loaded,
> regardless of if the grammar is related to the document being parsed.
> XMLEntityResolver has similar problems.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]