[ http://issues.apache.org/jira/browse/XALANJ-1473?page=all ]
Brian Minchau updated XALANJ-1473: ---------------------------------- Version: 2.5 (was: Latest Development Code) > Coding error in NodeSetDTM.addNodeInDocOrder() > ---------------------------------------------- > > Key: XALANJ-1473 > URL: http://issues.apache.org/jira/browse/XALANJ-1473 > Project: XalanJ2 > Type: Bug > Components: transformation, Xalan-interpretive > Versions: 2.5 > 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://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]