[ http://issues.apache.org/jira/browse/XALANJ-2152?page=comments#action_12314168 ]
Henry Zongaro commented on XALANJ-2152: --------------------------------------- See XALANJ-2153 for the same issue in XSLTC. > Xalan-J Interpretive truncates fractional portion of predicate > -------------------------------------------------------------- > > Key: XALANJ-2152 > URL: http://issues.apache.org/jira/browse/XALANJ-2152 > Project: XalanJ2 > Type: Bug > Components: Xalan-interpretive > Reporter: Henry Zongaro > Priority: Minor > Attachments: j2152.out, j2152.xml, j2152.xsl > > According to section 2.4 of XPath 1.0 [1], "A PredicateExpr is evaluated by > evaluating the Expr and converting the result to a boolean. If the result is > a number, the result will be converted to true if the number is equal to the > context position and will be converted to false...." However, Xalan-J > interpretive appears to convert the number to an integer and compares the > context position with that value, which makes a difference if the predicate > value has a fractional portion. > [1] http://www.w3.org/TR/xpath#predicates -- 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]
