You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2001/08/30 14:48:22 UTC
[DO NOT REPLY: Bug 3359] New:
ID references are being kept between Parser instances
PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3359
*** shadow/3359 Thu Aug 30 05:48:21 2001
--- shadow/3359.tmp.18755 Thu Aug 30 05:48:22 2001
***************
*** 0 ****
--- 1,25 ----
+ +============================================================================+
+ | ID references are being kept between Parser instances |
+ +----------------------------------------------------------------------------+
+ | Bug #: 3359 Product: Xerces-J |
+ | Status: NEW Version: 1.4 |
+ | Resolution: Platform: PC |
+ | Severity: Major OS/Version: Other |
+ | Priority: Other Component: Core |
+ +----------------------------------------------------------------------------+
+ | Assigned To: xerces-j-dev@xml.apache.org |
+ | Reported By: lee.storey@coda.com |
+ | CC list: Cc: |
+ +----------------------------------------------------------------------------+
+ | URL: |
+ +============================================================================+
+ | DESCRIPTION |
+ Once the parser has an id validation error it stores the id's it has
+ encountered , new instances of SAXParser do not clear this list and this causes
+ subsequent validation of other XML documents to fail.
+
+ The problem appears ( not tested ) to be in
+ org.apache.xerces.validators.datatype.IDDatatypeValidator.java which is using a
+ static hashtable of ids. an instance member may solve the problem.
+
+ lee
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org