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 2003/02/01 18:48:25 UTC
DO NOT REPLY [Bug 16668] New: -
Attribute parameter scope limited to ContentHandler.startElement
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: xerces-j-dev@xml.apache.org
ReportedBy: sdgoldst@mailandnews.com
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: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org