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 "Ben Griffin (JIRA)" <xe...@xml.apache.org> on 2010/05/13 10:00:42 UTC
[jira] Created: (XERCESC-1928) DOMLSResourceResolver
resolveResource() is not called unless a grammar has been loaded first.
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
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: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org
[jira] Updated: (XERCESC-1928) DOMLSResourceResolver
resolveResource() is not called unless a grammar has been loaded first.
Posted by "Ben Griffin (JIRA)" <xe...@xml.apache.org>.
[ https://issues.apache.org/jira/browse/XERCESC-1928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ben Griffin updated XERCESC-1928:
---------------------------------
Attachment: main.cpp
bim.xsd
foo.xml
Example demonstrating bug. comment or uncomment the loadgrammar line and use a breakpoint to notice the difference!
> 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: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org
[jira] Closed: (XERCESC-1928) DOMLSResourceResolver
resolveResource() is not called unless a grammar has been loaded first.
Posted by "Alberto Massari (JIRA)" <xe...@xml.apache.org>.
[ 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: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org