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 ji...@apache.org on 2004/04/12 23:22:00 UTC

[jira] Updated: (XERCERJ-288) AttributesImpl fails when setting an empty list of Attributes

The following issue has been updated:

    Updater: Serge Knystautas (mailto:sergek@lokitech.com)
       Date: Mon, 12 Apr 2004 2:21 PM
    Changes:
             Attachment changed from AttributesImpl.diff
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.apache.org/jira/browse/XERCERJ-288?page=history

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XERCERJ-288

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XERCERJ-288
    Summary: AttributesImpl fails when setting an empty list of Attributes
       Type: Bug

     Status: Resolved
 Resolution: FIXED

    Project: Xerces2-J

   Assignee: Xerces-J Developers Mailing List
   Reporter: Torsten Curdt

    Created: Thu, 25 Apr 2002 7:03 PM
    Updated: Mon, 12 Apr 2004 2:21 PM
Environment: Operating System: All
Platform: All

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.


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org