This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: "Undefined namespace prefix" when processing images


This is a bug in xsltproc in my opinion. It has to do with a new
feature of the stylesheets to allow svg inside an imageobject.
For a workaround have a look at the bug in xsltproc:
http://bugzilla.gnome.org/show_bug.cgi?id=87901

In the fo stylesheets there is no svg support in imageobject.
Therefore you don't get the error in fo.

Peter


> From: Phil Glaser [mailto:StillSmallVoice@DirectvInternet.com]
>
> Hi,
>
> When creating HTML with xsltproc and either docbook xsl 1.51.1 or
> 1.52.2, I
> receive the following error:
>     Error Undefined namespace prefix
>     xmlXPathCompiledEval: evaluation failed
> An HTML file gets created but the document only goes up to the point where
> the image is defined. Here's where it's stoping:
>
>    <para><figure float="1" pgwide="0">
>    <mediaobject>
> 	    <imageobject>
> 	      <imagedata fileref="datamodel.gif" format="GIF"/>
> 	    </imageobject>
> 	  </mediaobject>
> 	    <title>XML Processing Model</title>
> 	  </figure>
>    </para>
>
> This problem does not occur with FO --> PDF.
>
> I saw an earlier post about this in the archives but no answers
> were in the
> archive.
>
> Philip Glaser
> Principal and Software Architect
> Sustainable Software Solutions, LLC
> StillSmallVoice@DirectvInternet.com
> www.sustainsoft.com
> 973-951-9522
>
>
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]