[ http://issues.apache.org/jira/browse/XERCESJ-288?page=all ]
Pier Fumagalli updated XERCESJ-288:
-----------------------------------
Bugzilla Id: (was: 8526)
Description:
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.
was:
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.
Reporter: Torsten Curdt (was: Torsten Curdt)
Environment:
Operating System: All
Platform: All
was:
Operating System: All
Platform: All
Assign To: (was: Xerces-J Developers Mailing List)
Priority: Blocker
Merging tcurdt user accounts.
> AttributesImpl fails when setting an empty list of Attributes
> -------------------------------------------------------------
>
> Key: XERCESJ-288
> URL: http://issues.apache.org/jira/browse/XERCESJ-288
> Project: Xerces2-J
> Type: Bug
> Components: SAX
> Versions: 2.0.1
> Environment: Operating System: All
> Platform: All
> Reporter: Torsten Curdt
> Priority: Blocker
> Attachments: AttributesImpl.diff
>
> 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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]