Re: [xml] XSLT II

Date view Thread view Subject view Author view

From: Mathias Hasselmann (Mathias.Hasselmann@gmx.de)
Date: Tue Dec 21 1999 - 08:33:24 EST


Daniel Veillard wrote:
>
> On Tue, Dec 21, 1999 at 02:03:13AM +0100, Mathias Hasselmann wrote:
> >
> > Pardon to all xml-list recipients:
> > The mail with subject "XSLT" was addressed toward Daniel...
> > But my address book seems to be wracked...
> >
> > BUT while playing around with XSLT I've found a misbehavior of libxml.
> >
> > When parsing a the W3C XSLT/doc-example which starts with:
> >
> > <xsl:stylesheet version="1.0"
> > xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> > xmlns="http://www.w3.org/TR/xhtml1/strict">
> > ...
> >
> > the call
> > xmlGetNsProp (stylesheet->root, "version",
> > "http://www.w3.org/1999/XSL/Transform"),
> > returns NULL.
> You didn't tell which version of the library you used,
> libxml-1.8.0 broke default namespaces support :-( that's the reason
> why i released libxml-1.8.1 (which in turn has troubles with C++ so I
> expect to release libxml-1.8.2 today :-( ))
>
> So one easy answer may be 'upgrade', tell me if you still have troubles.
>

I tried with 1.8.1...

But after rereading W3C's namespace-specs and trying

  xmlGetNsProp (stylesheet->root, "xsl:version", ...

which returns "1.0" I'm confused:

Is libxml or W3C's example invalid?

Ciao
Mathias

-- 
WWW: http://www.arco.de/~mhasselm/ http://www.dominanz-haus.de/
PGP-Fingerprint: 4D15 89ED 7299 6428 FEE6  C66F 5D40 6504 55E5 72F3
----
Message from the list xml@xmlsoft.org
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@xmlsoft.org


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Aug 02 2000 - 12:29:55 EDT