You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Brian Minchau (JIRA)" <xa...@xml.apache.org> on 2005/07/13 08:14:20 UTC

[jira] Updated: (XALANJ-2153) XSLTC truncates fractional portion of predicate

     [ http://issues.apache.org/jira/browse/XALANJ-2153?page=all ]

Brian Minchau updated XALANJ-2153:
----------------------------------

    fix-priority: fp4

Set to fp4, per the JIRA meeting July 12, 2005.

> XSLTC truncates fractional portion of predicate
> -----------------------------------------------
>
>          Key: XALANJ-2153
>          URL: http://issues.apache.org/jira/browse/XALANJ-2153
>      Project: XalanJ2
>         Type: Bug
>   Components: XSLTC
>     Reporter: Henry Zongaro
>     Priority: Minor

>
> 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, XSLTC 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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org