Re: [xslt] Typo in transform.c??

On Wed, Sep 22, 2004 at 01:04:35PM +0100, Stuart Dootson wrote:
> Two errors are raised during xsltParseStylesheetDoc:
>   compilation error: file very-simple.xslt element stalesheet.
>   xsltStylePreCompute: unknown xsl:stalesheet
> Basically, xsltStylePreCompute is whinging about not knowing what a
> 'stalesheet' is. Now - the point is - if xsltStylePreCompute doesn't
> recognise an XSLT element (i.e. one in the
> '' namespace), is that an error or
> not?

  Depends on the "version" attribute found ... on the xsl:stylesheet :-)
depends where said element is found too.

Here the error which should be reported is that no xsl:stylesheet was found.


Daniel Veillard      | Red Hat Desktop team
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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