xsltproc catalog.xml:1: error: Space needed here

Francis J. Lacoste francis.lacoste at Contre.COM
Sat Feb 9 16:37:19 CET 2002


On Fri, Feb 08, 2002 at 04:04:54PM -0500, Rob Dinoff wrote:
> I have installed lire-full-20011205.tar.gz and libxslt-1.0.10.tar.gz
> with all the other software and I get the catalog.xml Space needed here
> error from xsltproc any ideas?  All of the png files  get generated but
> the index.html file is empty.

This happens because the DocBook 4.1.2 XML DTD wasn't found when you ran
./configure

[...]
> 
> catalog.xml
> 
> <?xml version="1.0"?>
> <!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog 
> V1.0//EN" 
> "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
> <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
> <rewriteSystem 
> systemIdStartString="http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" 
> rewritePrefix=""/>
> </catalog>
> 

The attribute rewritePrefix="" should contains the path to the DocBook
4.1.2 XML DTD. The catalog.xml file is created by ./configure from the
catalog.xml.in. 

If the docbook XML DTD isn't in a "standard" loation (somewhere under
/usr/lib/sgml or /usr/share/sgml, since there is no real standard and
there is a lot of broken SGML environment out there, it's really
difficult to find it everytime), you can hint ./configure to the location 
of that DTD on your system by setting the DBK_XML_DTD variable.

For example,

DBK_XML_DTD=/path/to/docbookx.dtd ./configure <other-configure-option>.

This should solve you problem.

BTW, on which platform are you installing lire? If you're on a RPM
GNU/Linux distribution (Mandrake, RedHat, SuSE, etc.), I would suggest you try 
our RPMs which you can find at http://logreport.org/pub/rpm 
If you are running Debian, you may use lire .deb for woody and sid.

Thanks for your interest in LogReport, kind Regards,

Francis J. Lacoste

-- 
Francis J. Lacoste              . .           http://www.logreport.org
/^LogReport$/               . .               flacoste at logreport.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://lists.logreport.org/pipermail/questions/attachments/20020209/3759c4e9/attachment.bin 


More information about the Questions mailing list