This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: saxon error: using format-number


> Subject: saxon error: using format-number

> Though I get the desired output in Stylus, Saxon gives me a
> "number-format function: locale not registered" error.
> I am using a older version of Saxon is that what is causing 
> the problem?

Yes, almost certainly. The spec is still unclear on the point: if
format-number() omits the second argument, it uses the "default decimal
format", and <xsl:decimal-format> with no name argument "declares the
default decimal format"; it's not explicitly stated what happens if no
default decimal format is explicitly declared, but at some stage I decided
it made sense to behave as if there were a <xsl:decimal-format> element with
no name and no attributes.

Mike Kay


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]