Bug #47, Element.number() returns NaN
Martin Klang <[email protected]> Tue, 24 Apr 2007 12:56:20 +0100
| Newsgroups | gmane.text.xml.o-xml |
|---|---|
| Message-ID | <[email protected]> |
Hi, Hugo Fernandez discovered a bug which results in Element.number() returning the wrong value, see http://bugz.pingdynasty.com/ show_bug.cgi?id=47 for details. The bug has now been fixed in cvs, the fix will be included in the next release. regards, /m On 4 Apr 2007, at 5:45, Hugo Fernandez wrote: > > > Hello Martin, > > > I am getting into o:xml and I was executing the tutorial examples. > I have come > accross some doubts that I would like to ask you. > > In chapter 6, there is the following code: > > <o:variable name="stock"> > <product name="stereo"> > <price>250.00</price> > <condition>flawless</condition> > </product> > </o:variable> > > <!-- output the price plus VAT --> > <o:eval select="$stock/product/price.number()* 1.175"/> > > This gives NaN as a result