DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5933>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5933 Identifier hash table in CoreDocumentImpl is not updated ------- Additional Comments From [EMAIL PROTECTED] 2002-01-22 20:41 ------- I need more information: do you create new attributes with name "ID"? If so, such attributes are not of type ID. Otherwise, can you attach a test case? Thank you! ------- Additional Comments From [EMAIL PROTECTED] 2002-01-30 16:23 ------- I understand. The identifiers I set are in fact of type ID, but this is set in the DTD and this information seems to be lost after parsing is completed. The DOM leaves how attributes are identified to be of type ID to the DOM implementation, but in Xerces 2 there does not seem to be a way to specify the type of an attribute after parsing (the Attr inferface does not provide an attribute type, neither does AttrImpl in Xerces). My workaround is to override the setAttribute method for the elements, updating the identifiers hash table in the document whenever an attribute that is known to be of type ID is modified. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
