GNOME Bugzilla – Bug 53364
number formatting inconsistencies
Last modified: 2009-08-15 18:40:50 UTC
The string-to-number parser in libxml's XPath implementation is unable to parse scientific notation (1.5e+3), but the default number formatter in libxslt will happily output scientific notation for very large or small values. This doesn't seem right. I'm not sure where the bug lies; I have actually had no luck finding the rules for numeric literals in the XPath specification, though I can look harder (and ask local XPath/XSLT experts) if you'd like. I can also find/patch the particular functions in libxml/libxslt that do the formatting, but since I don't really know what the Right Thing is, I can't just submit a patch.
Handed the problem to Bjorn Reese, hopefully he will come up to help Daniel
Okay this was added to 0.8.0, but generated negative feedback. http://mail.gnome.org/archives/xml/2001-April/msg00080.html As it is this bug seems fixed now. Daniel