GNOME Bugzilla – Bug 87849
xsltproc image processing namespace error
Last modified: 2009-08-15 18:40:50 UTC
I know the title is similar, but I read bug 87745, and it addresses a problem that Norm Walsh has already identified as a PassiveTex problem. Running libxml2-2.4.23 and libxslt-1.0.19 and using the brand new DocBook XSL 1.52.2, if I add a <mediaobject> to an XML file, I get Error undefined namespace prefix xmlPathCompiledEval: evaluation failed This problem does not occur with stylesheets as late as DocBook XSL 1.50.1-EXP2, so I suppose this bug has something to do with the exslt namespace.
Created attachment 9777 [details] DocBook xml test file
Created attachment 9778 [details] entity file referenced by guide.xml
The problem I described occurs when the attached XML file (guide.xml) is processed using xsltproc and the DocBook XSL 1.52.2 stylesheet chunk.xsl. The problem does not occur when I comment out the <mediaobject> tags in the overview_user_pwg.xml entity.
I am experiencing this same issue with GStreamer's documentation build system as well. I did not experience this problem with libxslt a couple of months ago, for our last release. After this error, I actually get a segmentation fault. My libs are stripped, so I can't provide a useful bt atm. The file is Docbook XML, and I'm using the chunk.xsl from http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl ii libxml2 2.4.23-1 GNOME XML library ii libxslt1 1.0.18-0.1 XSLT processing library
I just checked with the latest CVS, and I am still getting this error, although no segfault: wingo@cebreiro:~/src/gst-all/gstreamer/docs/manual$ gdb `which xsltproc` GNU gdb 2002-04-01-cvs Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-linux"... (gdb) r ../xsl/html.xsl gstreamer-manual.xml Starting program: /usr/bin/xsltproc ../xsl/html.xsl gstreamer-manual.xml Writing ch01.html for chapter(cha-intro) Writing ch02.html for chapter(cha-motivation) Writing ch03.html for chapter(cha-goals) Writing pt01.html for part(overview) Writing ch04.html for chapter(cha-initialisation) Error Undefined namespace prefix xmlXPathCompiledEval: evaluation failed Program exited with code 012. (gdb) bt No stack. html.xsl includes the docbook chunk.xsl from the web.
Created attachment 10086 [details] [review] A patch for docbook-xsl 1.52.2 - seems like a problem introduced with svg support in docbook-xsl 1.50.0
It is not a passivetex problem because the same problem occurs trying to generate XHTML output, this bug and bug 87745 should be merged.
Okay, I fixed bug #87901 and #87745 since it's also a duplicate, so this one should be fixed too :-) Daniel
Okay, this should be fixed in the last releases, Daniel