After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 87849 - xsltproc image processing namespace error
xsltproc image processing namespace error
Status: VERIFIED FIXED
Product: libxslt
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Daniel Veillard
Daniel Veillard
Depends on:
Blocks: 87880
 
 
Reported: 2002-07-10 16:14 UTC by dgrace
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
DocBook xml test file (1.16 KB, text/xml)
2002-07-10 16:52 UTC, dgrace
  Details
entity file referenced by guide.xml (25.15 KB, text/xml)
2002-07-10 16:53 UTC, dgrace
  Details
A patch for docbook-xsl 1.52.2 - seems like a problem introduced with svg support in docbook-xsl 1.50.0 (2.44 KB, patch)
2002-07-27 14:27 UTC, Oliver Eikemeier
none Details | Review

Description dgrace 2002-07-10 16:14:38 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.
Comment 1 dgrace 2002-07-10 16:52:28 UTC
Created attachment 9777 [details]
DocBook xml test file
Comment 2 dgrace 2002-07-10 16:53:43 UTC
Created attachment 9778 [details]
entity file referenced by guide.xml
Comment 3 dgrace 2002-07-10 16:59:29 UTC
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.
Comment 4 Andy Wingo 2002-07-10 23:36:07 UTC
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
Comment 5 Andy Wingo 2002-07-11 06:26:34 UTC
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.


Comment 6 Oliver Eikemeier 2002-07-27 14:27:10 UTC
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
Comment 7 vnhu38f93 2002-07-31 11:40:51 UTC
It is not a passivetex problem because the same problem occurs trying 
to generate XHTML output, this bug and bug 87745 should be merged.
Comment 8 Daniel Veillard 2002-08-20 11:24:59 UTC
Okay, I fixed bug #87901 and #87745 since it's also a duplicate,
so this one should be fixed too :-)

Daniel
Comment 9 Daniel Veillard 2002-08-27 10:15:00 UTC
Okay, this should be fixed in the last releases,

Daniel