Re: [xslt] format-number



On Wed, Feb 19, 2003 at 05:17:14PM +0100, Igor Zlatkovic wrote:
> Hi,
> 
> I'm hunting the bug 106251.

  Thanks :-)

> What is the right thing to do in xsltFormatNumberFunction if the decimal
> format with the specified name cannot be found? Use some default decimal
> format, or give an error?

  http://www.w3.org/TR/xslt#function-format-number

"It is an error if the stylesheet does not contain a declaration of the
 decimal-format with the specified expanded-name."

this should turn into a compile-time error IMHO,

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard@redhat.com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]