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=16668>. 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=16668 Attribute parameter scope limited to ContentHandler.startElement Summary: Attribute parameter scope limited to ContentHandler.startElement Product: Xerces2-J Version: 2.2.1 Platform: All OS/Version: All Status: NEW Severity: Major Priority: Other Component: JAXP AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] During the startElement() method in a ContentHandler implementation, I store a reference to the Attributes parameter and later attempt to use it in endElement(). What I experience in endElement(), however, is that the variable no longer contains the same data. It now contains data of another element. The javadocs do not state that the Attributes parameter is scoped to only startElement(). Therefore, I would expect to be able to mantain a reference to it and use it later. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
