xsl-list
[Top] [All Lists]

RE: string(9) = string(09) ... true or false?

2004-03-12 13:27:17
No, 09 represents the number 9, which has a string value of '9'. 

see: http://www.w3.org/TR/xpath#numbers

Josh
-----Original Message-----
From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com]On Behalf Of 
Roger L.
Costello
Sent: Friday, March 12, 2004 11:53 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] string(9) = string(09) ... true or false?


Hi Folks,

I ran this test with SAXON 7_8 

<xsl:value-of select="string(9) = string(09)"/>

Output: true

Shouldn't the output be: false?  /Roger


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>
  • RE: string(9) = string(09) ... true or false?, Josh Canfield <=