Login 
 
 Pref   Your subscriptions   Home   Help 
users@ml.mod-xslt2.com
mod-xslt2 - Users Mailing List
   
 
List info
 
 
 
Subscribe
 
 
Unsubscribe
 
 
Archive
 
 
Post
 



Advanced search
2004 01 02 03 04 05 06 07 08 09 10 11 12
2005 01 02 03 04 05 06 07 08 09 10 11 12
2006 01 02 03 04 05 06 07 08 09 10 11 12
2007 01 02 03 04 05 06 07 08 09 10 11 12
2008 01 02 03 04 05 06 07 08 09 10 11 12

  previous   Chronological            previous   Thread   next  

Re: [mod-xslt users] XHTML output problems Carlo Contavalli
  • From: Carlo Contavalli <ccontavalli@xxxxxxxxxxx>
  • To: users@xxxxxxxxxxxxxxxx
  • Subject: Re: [mod-xslt users] XHTML output problems
  • Date: Sat, 25 Sep 2004 13:13:43 +0200
  • References: <sympa.1094146119.26822.140@ml.mod-xslt2.com>


  • 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.

      Powered by Sympa