[ http://nagoya.apache.org/jira/browse/XALANJ-1473?page=history ]

Henry Zongaro updated XALANJ-1473:
----------------------------------

    Priority: Minor

> Coding error in NodeSetDTM.addNodeInDocOrder()
> ----------------------------------------------
>
>          Key: XALANJ-1473
>          URL: http://nagoya.apache.org/jira/browse/XALANJ-1473
>      Project: XalanJ2
>         Type: Bug
>   Components: Xalan-interpretive, transformation
>     Versions: CurrentCVS
>  Environment: Operating System: All
> Platform: All
>     Reporter: Morris Kwan
>     Assignee: Xalan Developers Mailing List
>     Priority: Minor
>  Attachments: 18758.diff.txt
>
> 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...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.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