Re: [xslt] Itermittant failures compiling gnome packages under gentoo prefix



Under Gentoo prefix, my packages are all built under a prefix living in my home directory. So there is the system catalog at /etc/xml/catalog and my own living at ${PREFIX}/etc/xml/catalog. These are both pasted below.

So a few questions come to mind:

* Is there a way to tell which one xsltproc is using?
* Is the prefix one being used? If not, can we force it to be?
* Is the prefix one correct?

I couldn't find which package ${PREFIX}/etc/xml/catalog lived in, but I did find these:

$ equery belongs catalog
 * Searching for catalog ...
app-text/docbook-sgml-dtd-4.1-r3 (${PREFIX}/usr/share/sgml/docbook/sgml-dtd-4.1/catalog)
app-text/docbook-xml-simple-dtd-4.1.2.4-r3 (${PREFIX}/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/catalog)
app-text/docbook-xml-simple-dtd-4.1.2.5-r2 (${PREFIX}/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.5/catalog)
app-text/sgml-common-0.6.3-r5 (${PREFIX}/usr/share/sgml/xml-iso-entities-8879.1986/catalog)
app-text/sgml-common-0.6.3-r5 (${PREFIX}/usr/share/sgml/sgml-iso-entities-8879.1986/catalog)

Thanks in advance,

- Peter

Here is the system one:
<?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">
  <delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook XML" catalog="file:///usr/share/sgml/docbook/xmlcatalog"/>
  <delegatePublic publicIdStartString="-//OASIS//DTD DocBook XML" catalog="file:///usr/share/sgml/docbook/xmlcatalog"/>
  <delegatePublic publicIdStartString="ISO 8879:1986" catalog="file:///usr/share/sgml/docbook/xmlcatalog"/>
  <delegateSystem systemIdStartString="http://www.oasis-open.org/docbook/" catalog="file:///usr/share/sgml/docbook/xmlcatalog"/>
  <delegateURI uriStartString="http://www.oasis-open.org/docbook/" catalog="file:///usr/share/sgml/docbook/xmlcatalog"/>
  <rewriteSystem systemIdStartString="http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd" rewritePrefix="/usr/share/xml/scrollkeeper/dtds/scrollkeeper-omf.dtd"/>
  <rewriteURI uriStartString="http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd" rewritePrefix="/usr/share/xml/scrollkeeper/dtds/scrollkeeper-omf.dtd"/>
  <rewriteSystem systemIdStartString="http://docbook.sourceforge.net/release/xsl/1.69.1" rewritePrefix="file:///usr/share/sgml/docbook/xsl-stylesheets-1.69.1-5.1"/>
  <rewriteURI uriStartString="http://docbook.sourceforge.net/release/xsl/1.69.1" rewritePrefix="file:///usr/share/sgml/docbook/xsl-stylesheets-1.69.1-5.1"/>
  <rewriteSystem systemIdStartString="http://docbook.sourceforge.net/release/xsl/current" rewritePrefix="file:///usr/share/sgml/docbook/xsl-stylesheets-1.69.1-5.1"/>
  <rewriteURI uriStartString="http://docbook.sourceforge.net/release/xsl/current" rewritePrefix="file:///usr/share/sgml/docbook/xsl-stylesheets-1.69.1-5.1"/>
  <delegatePublic publicIdStartString="-//OASIS//DTD Simplified" catalog="file:///etc/xml/docbook-simple.xml"/>
  <delegateURI uriStartString="http://www.oasis-open.org/docbook/xml/simple/1.0/" catalog="file:///etc/xml/docbook-simple.xml"/>
  <delegateSystem systemIdStartString="http://www.oasis-open.org/docbook/xml/simple/1.0/" catalog="file:///etc/xml/docbook-simple.xml"/>
  <delegatePublic publicIdStartString="-//Norman Walsh//DTD Slides" catalog="file:///etc/xml/docbook-slides.xml"/>
  <delegateSystem systemIdStartString="http://docbook.sourceforge.net/release/slides" catalog="file:///etc/xml/docbook-slides.xml"/>
  <delegateURI uriStartString="http://docbook.sourceforge.net/release/slides" catalog="file:///etc/xml/docbook-slides.xml"/>
  <delegatePublic publicIdStartString="-//W3C//DTD XHTML 1.0" catalog="file:///usr/share/sgml/xhtml1/xmlcatalog"/>
  <delegateSystem systemIdStartString="http://www.w3.org/TR/xhtml1/DTD" catalog="file:///usr/share/sgml/xhtml1/xmlcatalog"/>
  <delegateURI uriStartString="http://www.w3.org/TR/xhtml1/DTD" catalog="file:///usr/share/sgml/xhtml1/xmlcatalog"/>
  <system systemId="log4j.dtd" uri="file:///usr/share/sgml/log4j/log4j.dtd"/>
</catalog>

And the prefix one:
<?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">
  <public publicId="-//OMF//DTD Scrollkeeper OMF Variant V1.0//EN" uri="/user1/pwaller/gt/usr/share/xml/scrollkeeper/dtds/scrollkeeper-omf.dtd"/>
  <system systemId="http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd" uri="/user1/pwaller/gt/usr/share/xml/scrollkeeper/dtds/scrollkeeper-omf.dtd"/>
  <system systemId="http://glade.gnome.org/glade-2.0.dtd" uri="/user1/pwaller/gt/usr/share/xml/libglade/glade-2.0.dtd"/>
</catalog>

On 17 May 2011 16:46, Stefan Kost <ensonic hora-obscura de> wrote:
Am 17.05.2011 16:15, schrieb Peter Waller:
> On 17 May 2011 14:04, Liam R E Quin <liam holoweb net <mailto:liam holoweb net>>
> wrote:
>
>     On Tue, 2011-05-17 at 12:14 +0100, Peter Waller wrote:
>     > progress
>     > http://www.oasis-open.org/docbook/xml/4.1.2/dbcentx.mod:72: warning:
>     > failed
>     > to load external entity "
>     > http://www.oasis-open.org/docbook/xml/4.1.2/ent/iso-amsc.ent"
>     > %ISOamsc;
>     >           ^
>     > error : Operation in progress
>
>     Your libxml isn't configured correctly - you should be using an XML
>     Catalogue file with local copies of these entity definitions - same for
>     XHTML and HTML.  I don't know whether this is a problem with libxml or
>     with the Gentoo usage of it, that's another question.
>
>
> Hi Liam,
>
> How can I understand what the problem is? Where is the local catalogue usually
> located? Is it likely in one of the packages I listed in my original e-mail?
>

The starting point would be /etc/xml/catalog. On opensuse this is owned by a
package called sgml-skel-0.6-424.1.noarch

Stefan

> Thanks,
>
> - Peter
>
>
>
> _______________________________________________
> xslt mailing list, project page http://xmlsoft.org/XSLT/
> xslt gnome org
> http://mail.gnome.org/mailman/listinfo/xslt

_______________________________________________
xslt mailing list, project page http://xmlsoft.org/XSLT/
xslt gnome org
http://mail.gnome.org/mailman/listinfo/xslt



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]