FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Documentation

 
 
LinkBack Thread Tools
 
Old 10-08-2008, 05:42 PM
 
Default Problem with gorg

Hello,

I would like to translate some documents but I have a problem :

chris ~/gentoo/cvs-doc/gentoo/xml/htdocs/doc/fr/articles $ gorg < l-awk1.xml >
l-awk1.html
I/O warning : failed to load external entity "file:///xsl/content.xsl"
compilation error: file
file:///home/chris/gentoo/cvs-doc/gentoo/xml/htdocs/xsl/guide.xsl line 20
element include
xsl:include : unable to load file:///xsl/content.xsl
I/O warning : failed to load external entity "file:///xsl/handbook.xsl"
compilation error: file
file:///home/chris/gentoo/cvs-doc/gentoo/xml/htdocs/xsl/guide.xsl line 21
element include
xsl:include : unable to load file:///xsl/handbook.xsl
I/O warning : failed to load external entity "file:///xsl/inserts.xsl"
compilation error: file
file:///home/chris/gentoo/cvs-doc/gentoo/xml/htdocs/xsl/guide.xsl line 22
element include
xsl:include : unable to load file:///xsl/inserts.xsl
I/O warning : failed to load external entity "file:///xsl/mail.xsl"
compilation error: file
file:///home/chris/gentoo/cvs-doc/gentoo/xml/htdocs/xsl/guide.xsl line 24
element include
xsl:include : unable to load file:///xsl/mail.xsl
I/O warning : failed to load external entity "file:///xsl/devmap.xsl"
compilation error: file
file:///home/chris/gentoo/cvs-doc/gentoo/xml/htdocs/xsl/guide.xsl line 26
element include
xsl:include : unable to load file:///xsl/devmap.xsl
I/O warning : failed to load external entity "file:///xsl/doc-struct.xsl"
compilation error: file
file:///home/chris/gentoo/cvs-doc/gentoo/xml/htdocs/xsl/guide.xsl line 28
element include
xsl:include : unable to load file:///xsl/doc-struct.xsl
xmlErrMsg:failed to load external entity "file:///xsl/doc-struct.xsl"
xmlErrLevel:1
xmlErrCode:1549chris@portable ~/gentoo/cvs-doc/gentoo/xml/htdocs/doc/fr/articles
$ gorg < l-awk1.xml > l-awk1.html
I/O warning : failed to load external entity "file:///xsl/content.xsl"
compilation error: file
file:///home/chris/gentoo/cvs-doc/gentoo/xml/htdocs/xsl/guide.xsl line 20
element include
xsl:include : unable to load file:///xsl/content.xsl
I/O warning : failed to load external entity "file:///xsl/handbook.xsl"
compilation error: file
file:///home/chris/gentoo/cvs-doc/gentoo/xml/htdocs/xsl/guide.xsl line 21
element include
xsl:include : unable to load file:///xsl/handbook.xsl
I/O warning : failed to load external entity "file:///xsl/inserts.xsl"
compilation error: file
file:///home/chris/gentoo/cvs-doc/gentoo/xml/htdocs/xsl/guide.xsl line 22
element include
xsl:include : unable to load file:///xsl/inserts.xsl
I/O warning : failed to load external entity "file:///xsl/mail.xsl"
compilation error: file
file:///home/chris/gentoo/cvs-doc/gentoo/xml/htdocs/xsl/guide.xsl line 24
element include
xsl:include : unable to load file:///xsl/mail.xsl
I/O warning : failed to load external entity "file:///xsl/devmap.xsl"
compilation error: file
file:///home/chris/gentoo/cvs-doc/gentoo/xml/htdocs/xsl/guide.xsl line 26
element include
xsl:include : unable to load file:///xsl/devmap.xsl
I/O warning : failed to load external entity "file:///xsl/doc-struct.xsl"
compilation error: file
file:///home/chris/gentoo/cvs-doc/gentoo/xml/htdocs/xsl/guide.xsl line 28
element include
xsl:include : unable to load file:///xsl/doc-struct.xsl
xmlErrMsg:failed to load external entity "file:///xsl/doc-struct.xsl"
xmlErrLevel:1
xmlErrCode:1549

I think I have several problems :
1) I need to insert the complete path of xml files :

portable ~ # more /etc/xml/catalog
<?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/catalo
g.dtd">
<catalog xmlns="urnasis:names:tc:entity:xmlns:xml:catalog ">
<public publicId="-//OMF//DTD Scrollkeeper OMF Variant V1.0//EN"
uri="/usr/share/xml/scrollkeeper/dtds/scrollkeeper-omf.dtd"/>
<system
systemId="http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd"
uri="/usr/share/xml/scrollkeeper/dtds/s
crollkeeper-omf.dtd"/>
<delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook XML"
catalog="file:///etc/xml/docbook"/>
<delegatePublic publicIdStartString="-//OASIS//DTD DocBook XML"
catalog="file:///etc/xml/docbook"/>
<delegateSystem systemIdStartString="http://www.oasis-open.org/docbook/"
catalog="file:///etc/xml/docbook"/>
<delegateURI uriStartString="http://www.oasis-open.org/docbook/"
catalog="file:///etc/xml/docbook"/>
<delegateSystem
systemIdStartString="http://docbook.sourceforge.net/release/xsl/"
catalog="file:///etc/xml/docbook"/>
<delegateURI uriStartString="http://docbook.sourceforge.net/release/xsl/"
catalog="file:///etc/xml/docbook"/>
<delegatePublic publicIdStartString="ISO 8879:1986"
catalog="file:///etc/xml/docbook"/>
<rewriteURI uriStartString="/dtd/"
rewritePrefix="/usr/portage/metadata/dtd/"/>
<rewriteURI uriStartString="/dtd/guide.dtd"
rewritePrefix="/usr/portage/metadata/dtd/guide.dtd"/>
<rewriteURI uriStartString="/xsl/guide.xsl"
rewritePrefix="/home/chris/gentoo/cvs-doc/gentoo/xml/htdocs/xsl/guide.xsl"/>
<rewriteURI uriStartString="/xsl/"
rewritePrefix="/home/chris/gentoo/cvs-doc/gentoo/xml/htdocs/xsl/"/>
</catalog>portable ~ # more /etc/xml/catalog
<?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/catalo
g.dtd">
<catalog xmlns="urnasis:names:tc:entity:xmlns:xml:catalog ">
<public publicId="-//OMF//DTD Scrollkeeper OMF Variant V1.0//EN"
uri="/usr/share/xml/scrollkeeper/dtds/scrollkeeper-omf.dtd"/>
<system
systemId="http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd"
uri="/usr/share/xml/scrollkeeper/dtds/s
crollkeeper-omf.dtd"/>
<delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook XML"
catalog="file:///etc/xml/docbook"/>
<delegatePublic publicIdStartString="-//OASIS//DTD DocBook XML"
catalog="file:///etc/xml/docbook"/>
<delegateSystem systemIdStartString="http://www.oasis-open.org/docbook/"
catalog="file:///etc/xml/docbook"/>
<delegateURI uriStartString="http://www.oasis-open.org/docbook/"
catalog="file:///etc/xml/docbook"/>
<delegateSystem
systemIdStartString="http://docbook.sourceforge.net/release/xsl/"
catalog="file:///etc/xml/docbook"/>
<delegateURI uriStartString="http://docbook.sourceforge.net/release/xsl/"
catalog="file:///etc/xml/docbook"/>
<delegatePublic publicIdStartString="ISO 8879:1986"
catalog="file:///etc/xml/docbook"/>
<rewriteURI uriStartString="/dtd/"
rewritePrefix="/usr/portage/metadata/dtd/"/>
<rewriteURI uriStartString="/dtd/guide.dtd"
rewritePrefix="/usr/portage/metadata/dtd/guide.dtd"/>
<rewriteURI uriStartString="/xsl/guide.xsl"
rewritePrefix="/home/chris/gentoo/cvs-doc/gentoo/xml/htdocs/xsl/guide.xsl"/>
<rewriteURI uriStartString="/xsl/"
rewritePrefix="/home/chris/gentoo/cvs-doc/gentoo/xml/htdocs/xsl/"/>
</catalog>


uriStartString="/dtd/" alone don't work. I have to add guide.xsl

Is the only solution is to add the complete path of each xsl file in
/etc/xml/catalog ?

Thanks by advance,
Christophe
 
Old 10-08-2008, 05:47 PM
 
Default Problem with gorg

Hello,

I would like to translate some documents but I have a problem :

chris ~/gentoo/cvs-doc/gentoo/xml/htdocs/doc/fr/articles $ gorg < l-awk1.xml >
l-awk1.html
I/O warning : failed to load external entity "file:///xsl/content.xsl"
compilation error: file
file:///home/chris/gentoo/cvs-doc/gentoo/xml/htdocs/xsl/guide.xsl line 20
element include
xsl:include : unable to load file:///xsl/content.xsl
I/O warning : failed to load external entity "file:///xsl/handbook.xsl"
compilation error: file
file:///home/chris/gentoo/cvs-doc/gentoo/xml/htdocs/xsl/guide.xsl line 21
element include
xsl:include : unable to load file:///xsl/handbook.xsl
I/O warning : failed to load external entity "file:///xsl/inserts.xsl"
compilation error: file
file:///home/chris/gentoo/cvs-doc/gentoo/xml/htdocs/xsl/guide.xsl line 22
element include
xsl:include : unable to load file:///xsl/inserts.xsl
I/O warning : failed to load external entity "file:///xsl/mail.xsl"
compilation error: file
file:///home/chris/gentoo/cvs-doc/gentoo/xml/htdocs/xsl/guide.xsl line 24
element include
xsl:include : unable to load file:///xsl/mail.xsl
I/O warning : failed to load external entity "file:///xsl/devmap.xsl"
compilation error: file
file:///home/chris/gentoo/cvs-doc/gentoo/xml/htdocs/xsl/guide.xsl line 26
element include
xsl:include : unable to load file:///xsl/devmap.xsl
I/O warning : failed to load external entity "file:///xsl/doc-struct.xsl"
compilation error: file
file:///home/chris/gentoo/cvs-doc/gentoo/xml/htdocs/xsl/guide.xsl line 28
element include
xsl:include : unable to load file:///xsl/doc-struct.xsl
xmlErrMsg:failed to load external entity "file:///xsl/doc-struct.xsl"
xmlErrLevel:1
xmlErrCode:1549chris@portable ~/gentoo/cvs-doc/gentoo/xml/htdocs/doc/fr/articles
$ gorg < l-awk1.xml > l-awk1.html
I/O warning : failed to load external entity "file:///xsl/content.xsl"
compilation error: file
file:///home/chris/gentoo/cvs-doc/gentoo/xml/htdocs/xsl/guide.xsl line 20
element include
xsl:include : unable to load file:///xsl/content.xsl
I/O warning : failed to load external entity "file:///xsl/handbook.xsl"
compilation error: file
file:///home/chris/gentoo/cvs-doc/gentoo/xml/htdocs/xsl/guide.xsl line 21
element include
xsl:include : unable to load file:///xsl/handbook.xsl
I/O warning : failed to load external entity "file:///xsl/inserts.xsl"
compilation error: file
file:///home/chris/gentoo/cvs-doc/gentoo/xml/htdocs/xsl/guide.xsl line 22
element include
xsl:include : unable to load file:///xsl/inserts.xsl
I/O warning : failed to load external entity "file:///xsl/mail.xsl"
compilation error: file
file:///home/chris/gentoo/cvs-doc/gentoo/xml/htdocs/xsl/guide.xsl line 24
element include
xsl:include : unable to load file:///xsl/mail.xsl
I/O warning : failed to load external entity "file:///xsl/devmap.xsl"
compilation error: file
file:///home/chris/gentoo/cvs-doc/gentoo/xml/htdocs/xsl/guide.xsl line 26
element include
xsl:include : unable to load file:///xsl/devmap.xsl
I/O warning : failed to load external entity "file:///xsl/doc-struct.xsl"
compilation error: file
file:///home/chris/gentoo/cvs-doc/gentoo/xml/htdocs/xsl/guide.xsl line 28
element include
xsl:include : unable to load file:///xsl/doc-struct.xsl
xmlErrMsg:failed to load external entity "file:///xsl/doc-struct.xsl"
xmlErrLevel:1
xmlErrCode:1549

I think I have several problems :
1) I need to insert the complete path of xml files :

portable ~ # more /etc/xml/catalog
<?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/catalo
g.dtd">
<catalog xmlns="urnasis:names:tc:entity:xmlns:xml:catalog ">
<public publicId="-//OMF//DTD Scrollkeeper OMF Variant V1.0//EN"
uri="/usr/share/xml/scrollkeeper/dtds/scrollkeeper-omf.dtd"/>
<system
systemId="http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd"
uri="/usr/share/xml/scrollkeeper/dtds/s
crollkeeper-omf.dtd"/>
<delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook XML"
catalog="file:///etc/xml/docbook"/>
<delegatePublic publicIdStartString="-//OASIS//DTD DocBook XML"
catalog="file:///etc/xml/docbook"/>
<delegateSystem systemIdStartString="http://www.oasis-open.org/docbook/"
catalog="file:///etc/xml/docbook"/>
<delegateURI uriStartString="http://www.oasis-open.org/docbook/"
catalog="file:///etc/xml/docbook"/>
<delegateSystem
systemIdStartString="http://docbook.sourceforge.net/release/xsl/"
catalog="file:///etc/xml/docbook"/>
<delegateURI uriStartString="http://docbook.sourceforge.net/release/xsl/"
catalog="file:///etc/xml/docbook"/>
<delegatePublic publicIdStartString="ISO 8879:1986"
catalog="file:///etc/xml/docbook"/>
<rewriteURI uriStartString="/dtd/"
rewritePrefix="/usr/portage/metadata/dtd/"/>
<rewriteURI uriStartString="/dtd/guide.dtd"
rewritePrefix="/usr/portage/metadata/dtd/guide.dtd"/>
<rewriteURI uriStartString="/xsl/guide.xsl"
rewritePrefix="/home/chris/gentoo/cvs-doc/gentoo/xml/htdocs/xsl/guide.xsl"/>
<rewriteURI uriStartString="/xsl/"
rewritePrefix="/home/chris/gentoo/cvs-doc/gentoo/xml/htdocs/xsl/"/>
</catalog>portable ~ # more /etc/xml/catalog
<?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/catalo
g.dtd">
<catalog xmlns="urnasis:names:tc:entity:xmlns:xml:catalog ">
<public publicId="-//OMF//DTD Scrollkeeper OMF Variant V1.0//EN"
uri="/usr/share/xml/scrollkeeper/dtds/scrollkeeper-omf.dtd"/>
<system
systemId="http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd"
uri="/usr/share/xml/scrollkeeper/dtds/s
crollkeeper-omf.dtd"/>
<delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook XML"
catalog="file:///etc/xml/docbook"/>
<delegatePublic publicIdStartString="-//OASIS//DTD DocBook XML"
catalog="file:///etc/xml/docbook"/>
<delegateSystem systemIdStartString="http://www.oasis-open.org/docbook/"
catalog="file:///etc/xml/docbook"/>
<delegateURI uriStartString="http://www.oasis-open.org/docbook/"
catalog="file:///etc/xml/docbook"/>
<delegateSystem
systemIdStartString="http://docbook.sourceforge.net/release/xsl/"
catalog="file:///etc/xml/docbook"/>
<delegateURI uriStartString="http://docbook.sourceforge.net/release/xsl/"
catalog="file:///etc/xml/docbook"/>
<delegatePublic publicIdStartString="ISO 8879:1986"
catalog="file:///etc/xml/docbook"/>
<rewriteURI uriStartString="/dtd/"
rewritePrefix="/usr/portage/metadata/dtd/"/>
<rewriteURI uriStartString="/dtd/guide.dtd"
rewritePrefix="/usr/portage/metadata/dtd/guide.dtd"/>
<rewriteURI uriStartString="/xsl/guide.xsl"
rewritePrefix="/home/chris/gentoo/cvs-doc/gentoo/xml/htdocs/xsl/guide.xsl"/>
<rewriteURI uriStartString="/xsl/"
rewritePrefix="/home/chris/gentoo/cvs-doc/gentoo/xml/htdocs/xsl/"/>
</catalog>


uriStartString="/dtd/" alone don't work. I have to add guide.xsl

Is the only solution is to add the complete path of each xsl file in
/etc/xml/catalog ?

Thanks by advance,
Christophe
----- Fin du message transféré -----
 
Old 10-08-2008, 05:55 PM
Jan Kundrát
 
Default Problem with gorg

clefebvre.62@free.fr wrote:

uriStartString="/dtd/" alone don't work. I have to add guide.xsl


<rewriteURI uriStartString="/dtd/"
rewritePrefix="/usr/portage/metadata/dtd/"/>
<rewriteURI uriStartString="http://www.gentoo.org/dtd/"
rewritePrefix="/usr/portage/metadata/dtd/"/>

This works for me. If you're using a standalone gorg, you might have to
set "root" in the gorg.conf.


BTW, your mail was extremely hard to read.

Cheers,
-jkt

--
cd /local/pub && more beer > /dev/mouth
 
Old 10-08-2008, 06:05 PM
Christophe LEFEBVRE
 
Default Problem with gorg

Thanks,

Excuse-me if my email was hard to read but I have tried to give usefull
information to help.
I have modified root in gorg.conf, removed xsl entries and I have only
"/dtd" and it works.


Best regards,
Christophe

Jan Kundrát a écrit :

clefebvre.62@free.fr wrote:

uriStartString="/dtd/" alone don't work. I have to add guide.xsl


<rewriteURI uriStartString="/dtd/"
rewritePrefix="/usr/portage/metadata/dtd/"/>
<rewriteURI uriStartString="http://www.gentoo.org/dtd/"
rewritePrefix="/usr/portage/metadata/dtd/"/>

This works for me. If you're using a standalone gorg, you might have
to set "root" in the gorg.conf.


BTW, your mail was extremely hard to read.

Cheers,
-jkt
 

Thread Tools




All times are GMT. The time now is 10:09 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org