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 2002/04/25 21:03:01 UTC
DO NOT REPLY [Bug 8526] New: -
AttributesImpl fails when setting an empty list of Attributes
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=8526>.
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=8526
AttributesImpl fails when setting an empty list of Attributes
Summary: AttributesImpl fails when setting an empty list of
Attributes
Product: Xerces-J
Version: CVS extract
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: Other
Component: JAXP
AssignedTo: xerces-j-dev@xml.apache.org
ReportedBy: tcurdt@apache.org
when you call (as proposed by the spec):
newAttributes = new AttributesImpl(attr);
and the Attributes are empty (not null) it leads to an creation of an array
with size 0 which seems to be really bad.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org