Treat empty-declaration-subset as no-declaration-subset and allow DTD caching
-----------------------------------------------------------------------------
Key: XERCESC-1540
URL: http://issues.apache.org/jira/browse/XERCESC-1540
Project: Xerces-C++
Type: Improvement
Components: SAX/SAX2
Versions: 2.7.0
Environment: Any
Reporter: Arthur Rother
Priority: Minor
Running Xerces with the following features switched on:
* http://apache.org/xml/features/validation/use-cachedGrammarInParse
* http://apache.org/xml/features/validation/cache-grammarFromParse
* http://apache.org/xml/features/validation/ignoreCachedDTD
on a document containing an empty declaration subset returns error:
"When reusing the Grammar, no internal subset is allowed"
I would prefer if an empty internal declaration subset would be treated as a
missing internal declaration subset.
I could submit a patch here if that would help.
Thanks
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]