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=26008>. 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=26008 Hash table for undeclared attributes re-uses key pointer Summary: Hash table for undeclared attributes re-uses key pointer Product: Xerces-C++ Version: 2.4.0 Platform: All OS/Version: All Status: NEW Severity: Critical Priority: Other Component: DOM AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] When parsing a file with two or more undeclared attributes which both hash to the same value, the parser will incorrectly fail claiming duplicate attributes in a start tag. This is caused by the hash table storing the attributes using a key which is the address of the buffer used to store the attributes. Since the same buffer is used for all attributes, all comparisons used when there is a hash table collision will indicate duplication of the attribute. In other words, all key values for all entries in the hash table are identical when the time comes to look up the values. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]