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- (${PREFIX}/usr/share/sgml/docbook/xml-simple-dtd-
app-text/docbook-xml-simple-dtd- (${PREFIX}/usr/share/sgml/docbook/xml-simple-dtd-
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" "">
<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="" catalog="file:///usr/share/sgml/docbook/xmlcatalog"/>
  <delegateURI uriStartString="" catalog="file:///usr/share/sgml/docbook/xmlcatalog"/>
  <rewriteSystem systemIdStartString="" rewritePrefix="/usr/share/xml/scrollkeeper/dtds/scrollkeeper-omf.dtd"/>
  <rewriteURI uriStartString="" rewritePrefix="/usr/share/xml/scrollkeeper/dtds/scrollkeeper-omf.dtd"/>
  <rewriteSystem systemIdStartString="" rewritePrefix="file:///usr/share/sgml/docbook/xsl-stylesheets-1.69.1-5.1"/>
  <rewriteURI uriStartString="" rewritePrefix="file:///usr/share/sgml/docbook/xsl-stylesheets-1.69.1-5.1"/>
  <rewriteSystem systemIdStartString="" rewritePrefix="file:///usr/share/sgml/docbook/xsl-stylesheets-1.69.1-5.1"/>
  <rewriteURI uriStartString="" 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="" catalog="file:///etc/xml/docbook-simple.xml"/>
  <delegateSystem systemIdStartString="" catalog="file:///etc/xml/docbook-simple.xml"/>
  <delegatePublic publicIdStartString="-//Norman Walsh//DTD Slides" catalog="file:///etc/xml/docbook-slides.xml"/>
  <delegateSystem systemIdStartString="" catalog="file:///etc/xml/docbook-slides.xml"/>
  <delegateURI uriStartString="" catalog="file:///etc/xml/docbook-slides.xml"/>
  <delegatePublic publicIdStartString="-//W3C//DTD XHTML 1.0" catalog="file:///usr/share/sgml/xhtml1/xmlcatalog"/>
  <delegateSystem systemIdStartString="" catalog="file:///usr/share/sgml/xhtml1/xmlcatalog"/>
  <delegateURI uriStartString="" catalog="file:///usr/share/sgml/xhtml1/xmlcatalog"/>
  <system systemId="log4j.dtd" uri="file:///usr/share/sgml/log4j/log4j.dtd"/>

And the prefix one:
<?xml version="1.0"?>
<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN" "">
<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="" uri="/user1/pwaller/gt/usr/share/xml/scrollkeeper/dtds/scrollkeeper-omf.dtd"/>
  <system systemId="" uri="/user1/pwaller/gt/usr/share/xml/libglade/glade-2.0.dtd"/>

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
>     > warning:
>     > failed
>     > to load external entity "
>     >"
>     > %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


> Thanks,
> - Peter
> _______________________________________________
> xslt mailing list, project page
> xslt gnome org

xslt mailing list, project page
xslt gnome org

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