[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: format-number in Saxon 8.5

Subject: Re: format-number in Saxon 8.5
From: Kenneth Stephen <marvin.the.cynical.robot@xxxxxxxxx>
Date: Sun, 14 Aug 2005 20:59:37 -0500
format number saxon
Michael,

    The URL doesnt provide any info. Even after logging in, I see :

The Saxon bug register is used only for problems that have been
acknowledged as bugs: it isn't intended for users to raise suspected
bugs. Please do this via the saxon-help list instead.

Note: the "Groups" field is used to indicate the Saxon version against
which the problem was first reported. For example, v6.4.3 means the
problem was reported against 6.4.3. The problem may also be present in
earlier releases, and (occasionally) in later releases.

For Project:
Saxon XSLT and XQuery Processor
Category: (?)
 (admin) 	Group: (?)
 (admin)
Summary: (?)
Detailed Description:

DO NOT enter passwords or other confidential information!

Check to Upload and Attach a File: (?)

File Description:

    Did you paste the wrong URL perhaps?

Thanks,
Kenneth

On 8/14/05, Michael Kay <mike@xxxxxxxxxxxx> wrote:
> A surprisingly basic bug which seems to have lain undetected in a number of
> Saxon releases, perhaps because most of the test cases are on
floating-point
> numbers since that's what XSLT 1.0 supported.
>
> A description of the bug and source fix are at
>
> https://sourceforge.net/tracker/?func=add&group_id=29872&atid=397617
>
> (Note, format-number() is completely rewritten in Saxon 8 to remove the
> dependency on the JDK implementation)
>
> Michael Kay
> http://www.saxonica.com/
>
> > -----Original Message-----
> > From: Manfred Staudinger [mailto:manfred.staudinger@xxxxxxxxx]
> > Sent: 14 August 2005 14:46
> > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> > Subject:  format-number in Saxon 8.5
> >
> > Hi list,
> > the stylesheet below works fine with Saxon6,
> > 00001
> > 00022
> > 00333
> > 04444
> > 55555
> > but not with Saxon8
> > 001
> > 0022
> > 0333
> > 04444
> > 55555
> > Any idea what's wrong with it?
> >
> > <?xml version="1.0" encoding="UTF-8" ?>
> > <xsl:stylesheet version="2.0"
> >               xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
> > <xsl:variable name="LF" select="'&#xA;'" />
> > <xsl:template match="/">
> >       <xsl:value-of select="$LF" />
> >       <xsl:value-of select="format-number(1,'00000')" />
> >       <xsl:value-of select="$LF" />
> >       <xsl:value-of select="format-number(22,'00000')" />
> >       <xsl:value-of select="$LF" />
> >       <xsl:value-of select="format-number(333,'00000')" />
> >       <xsl:value-of select="$LF" />
> >       <xsl:value-of select="format-number(4444,'00000')" />
> >       <xsl:value-of select="$LF" />
> >       <xsl:value-of select="format-number(55555,'00000')" />
> > </xsl:template>
> > </xsl:stylesheet>
> >
> > Manfred

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.