On Thu, Sep 02, 2004 at 07:32:20PM +0200, scream@xxxxxxxx wrote:
> I'm coding my homepage using mod-xslt, and i run into one problem:
> When i set doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN/"
> doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
> in xsl:output, mod-xslt stops parsing stylesheet at this point.
>
> here are links, so you can look yourselves:
> stylesheet: _http://scream.gotdns.com/hp/inc/site.xsl
> source xml: _http://scream.gotdns.com/hp/index.xml
Ok, finally I got the time to work a bit on this problem.
It seems like that when xsl:output specifies:
method="xml"
doctype-public="..."
doctype-system="..."
xsltApplyStylesheetUser, libxslt function that generates
the resulting document, returns a xmlNodePtr with a wrong
value in the `last' pointer, causing subsequent xmlAddChild
calls to truncate the document.
I just reported this problem on the libxslt mailing list.
Let's see what happens.
Cheers,
Carlo
--
GPG Fingerprint: 2383 7B14 4D08 53A4 2C1A CA29 9E98 5431 1A68 6975
-------------
The best way to preserve a right is to exercise it, and the right to
smoke is a right worth dying for.