Hi,
Reading XPath 1.0 it states that a predicate evaluating to a number will
return true if equal to the proximity position of the current node. I
was wondering if there is a reason the evaluated number isn't rounded by
the XPath engine? Because XPath is based on IEEE 754 the result of an
evaluation might be inaccurate on the last digit which will cause a
predicate to return false where it should return true. I'm just asking
this out of curiosity and accepts that an author has to call the round
function if she uses arithmetic which can give inaccurate results.
Best regards,
David
--
--------------------------------------------
David Landwehr (david(_dot_)landwehr(_at_)solidapp(_dot_)com)
Chief Executive Officer, SolidApp
Web: http://www.solidapp.com
Office: +45 48268212
Mobile: +45 24275518
--------------------------------------------
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--