[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: DOCBOOK-APPS: XSLTproc error on processing images
I was trying to use xsltproc to convert an xml file
to html output:
xsltproc file:///c:/docbook/docbook-xsl/html/docbook.xsl
inputfile.xml > ouputfile.html
when I got the
following error:
Error Undefined namespace prefix
xmlXPathCompiledEval: evaluation
failed
whereupon xsltproc hangs and has to be terminated
via CTRL-C, this happens also
for FO output with the exception that it does not
hang.
even worse is when I try to generate chunked html
output using:
xsltproc file:///c:/docbook/docbook-xsl/html/chunk.xsl
inputfile.xml
which causes xsltproc to crash and windows produces a
messagebox saying:
************************************************************************
*
ProgramError
*
* xsltproc.exe has generated
errors and will be closed by Windows. *
* You will need to restart the
program.
*
* *
* An error log is being
created.
*
* *
* [OK]
*
************************************************************************
The commandline says the same thing:
Error Undefined namespace prefix
xmlXPathCompiledEval: evaluation failed
Before this error is thrown, xsltproc does actually manage to
produce some output,
namely upto where I have included an image, here is the XML
DocBook snippet:
<figure><title>The Fox Fur
Nebula</title>
<mediaobject> <imageobject> <imagedata fileref="foxfurnebula.png" format="PNG"/> </imageobject> <imageobject> <imagedata fileref="foxfurnebula.jpg" format="JPG"/> </imageobject> </mediaobject> </figure> So I assume that xsltproc is having problems with this section
of my document
although it validates fine with xmllint and onsgmls so I'm
stymied. I have also
searched the mail archives, there is a problem that
produces a similar error that
was to do with namespaces but I don't have a clue what
they are about yet.
I would have thought that at least xsltproc should fail
gracefully, is this a bug?
Regards
AM
|
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC