Re: [xml] old exsl:document bug back?

On Wed, Apr 06, 2005 at 02:26:45PM +0200, Jeroen Ruigrok/asmodai wrote:
Right now I am using exsl:document as follows:

<exsl:document href="{$filename}" method="xml" encoding="UTF-8"
  doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"

Yet the output file only gives:

<?xml version="1.0" encoding="UTF-8"?>

Looking around I found this old bug reference in lib(e)xslt:

This is exactly what I am facing right now.

  Your example is not complete so unusable.
The example from ERDI Gergo was complete, and work for me without problem :

paphio:~/tmp -> cat tst.xml
paphio:~/tmp -> cat tst.xsl
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"

  <xsl:template match="/">
    <exsl:document href="test.docbook"
      method="xml" encoding="iso-8859-1"
      doctype-public="-//OASIS//DTD DocBook XML V4.1.2//EN"
        <title>Hello World</title>


paphio:~/tmp -> xsltproc tst.xsl tst.xml
paphio:~/tmp -> xsltproc --version
Using libxml 20618-CVS2392, libxslt 10113-CVS1008 and libexslt 811-CVS1008
xsltproc was compiled against libxml 20618, libxslt 10113 and libexslt 811
libxslt 10113 was compiled against libxml 20618
libexslt 811 was compiled against libxml 20618
paphio:~/tmp -> cat test.docbook
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" 
<article><title>Hello World</title></article>
paphio:~/tmp ->

  I can't reproduce the bug you pointed to. I can't reproduce your bug either
Please follow the instructions at


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]