On Fri, 19 Oct 2001, Mark A. Belonga wrote: > After finding that same bit in the XPath spec, I'm now thinking that > everything should be stored as a Double. As suggested in the XSLT book by > Michael Kay, there's always round(), trim(), and ceiling() to be able to > convert to an Integer if you need one. But internally if we use Double > everywhere I think we'd be all set with all the comparisons. This means that > even when we round(), trim(), or ceiling(), we do that conversion and then > store it as a Double. > > As far as the string() representation... I tested some conversions with > xalan, and they have the following conversion rules: > string( 1 ) = '1' > string( 1.0 ) = '1' > string( 1.1 ) = '1.1' > > These seem reasonable to me.
If it seems compliant to the spec, and makes life easier/better, then I'm all for it. I personally have not the time to implement such a change, so I'll leave it in someone else's capable hands. +1 -bob _______________________________________________ Jaxen-interest mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jaxen-interest