Re: [xslt] format-number



On Wed, Feb 19, 2003 at 06:23:52PM +0100, Igor Zlatkovic wrote:
> On Wed, 19 Feb 2003, Daniel Veillard wrote:
> >   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,
> 
> Okay, the bug is fixed. The diff follows, risk a short glance and if its
> okay, I'll commit.

  Looks fine but you should use
  xsltStylesheetPtr     xsltNextImport           (xsltStylesheetPtr style);
to walk the imports tree, I'm not sure your algo is right while 
I know xsltNextImport() one is...

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]