Re: [xslt] Possible bug in libxslt?



On Mon, Sep 09, 2002 at 12:52:40AM -0400, Ben Ko wrote:
> The following stylesheet w/a single match
> 
> <xsl:template match="@*|node()">
>     <xsl:apply-templates />
> </xsl:template>
> 
> should drop all content from the processed xml file.
> 
> With MSXML on Windows, it drops all the text, as expected
> 
> With Xalan on Windows, it drops all the text, as expected
> 
> With ActiveState Komodo on Windows, it drops all text, as expected
> 
> With Sabltron on OS X, it drops all the text, as expected
> 
> With LibXSLT, on both Windows and OS X, it preserves all the text, which is
> not what I expected.
> 
> Is this a bug in LibXSLT? Or does LibXSLT expect the rule to be written
> differently?

  it was a bug, now fixed in CVS:

http://cvs.gnome.org/bonsai/cvsquery.cgi?module=libxslt&branch=HEAD&branchtype=match&dir=libxslt&file=&filetype=match&who=veillard&whotype=match&sortby=Date&hours=&date=explicit&mindate=09%2F09%2F02+08%3A07&maxdate=09%2F09%2F02+08%3A09&cvsroot=%2Fcvs%2Fgnome

  thanks !

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]