Updated: (XERCESJ-1205) Entity resolution does not work with DTD grammar 2006-10-17 - By Tin Pavlinic (JIRA)
[ http://issues.apache.org/jira/browse/XERCESJ-1205?page=all ]
Tin Pavlinic updated XERCESJ-1205: ----------------------------------
Attachment: bug.zip
The zip file contains a JUnit test case demonstrating the bug, a sample document and a sample DTD demonstrating the behaviour.
> Entity resolution does not work with DTD grammar caching resolved > ----------------------------------------------------------------- > > Key: XERCESJ-1205 > URL: http://issues.apache.org/jira/browse/XERCESJ-1205 > Project: Xerces2-J > Issue Type: Bug > Components: DTD > Affects Versions: 2.8.1 > Environment: JDK1.5. The issue appears on various machines, Windows, Linux, Mac OSX. I don't believe it is platform specific. > Reporter: Tin Pavlinic > Attachments: bug.zip > > > We have a DTD which defines some entities. We are parsing multiple documents against this DTD. If grammar caching is enabled, the entities are unresolved when the grammar is loaded from the cache, instead of the DTD. > It seems that they are cleared every time a document is parsed and are only loaded when a DTD is loaded and not from the cache.
-- 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: j-dev-unsubscribe@(protected) For additional commands, e-mail: j-dev-help@(protected)
|
|