The following issue has been updated:

    Updater: Brian Minchau (mailto:[EMAIL PROTECTED])
       Date: Fri, 24 Sep 2004 8:28 AM
    Changes:
             Component changed to transformation
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.apache.org/jira/browse/XALANJ-1473?page=history

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XALANJ-1473

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XALANJ-1473
    Summary: Coding error in NodeSetDTM.addNodeInDocOrder()
       Type: Bug

     Status: Open

    Project: XalanJ2
 Components: 
             Xalan-interpretive transformation
             transformation
   Versions:
             CurrentCVS

   Assignee: Xalan Developers Mailing List
   Reporter: Morris Kwan

    Created: Mon, 7 Apr 2003 2:21 PM
    Updated: Fri, 24 Sep 2004 8:28 AM
Environment: Operating System: All
Platform: All

Description:
The following problem was found by Joseph Kesselman:

In NodeSetDTM's addNodeInDocOrder test, there are a few lines which read:
      for (int i = 0; i < insertIndex; i++)
      {
        if (i == node)
Problem is,  i is an index (obviously), and node is a DTM Node Handle. Oops!

Apparently this case has never been exercised, since it would have failed 
miserably...


---------------------------------------------------------------------
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to