[xml/sgml-pkgs] Bug#318817: marked as done (xsltproc: Trys to access network entity when --nonet is specified)

Debian Bug Tracking System owner at bugs.debian.org
Mon Jul 18 17:33:22 UTC 2005


Your message dated Mon, 18 Jul 2005 19:32:18 +0200
with message-id <20050718173218.GC29847 at glandium.org>
and subject line [xml/sgml-pkgs] Bug#318817: xsltproc: Trys to access network entity when --nonet is specified
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 17 Jul 2005 22:31:23 +0000
>From kop at meme.com Sun Jul 17 15:31:23 2005
Return-path: <kop at meme.com>
Received: from mail21.sea5.speakeasy.net [69.17.117.23] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1DuHfP-0002QC-00; Sun, 17 Jul 2005 15:31:23 -0700
Received: (qmail 12044 invoked from network); 17 Jul 2005 22:31:21 -0000
Received: from dsl093-114-095.chi2.dsl.speakeasy.net (HELO mofo.meme.com) ([66.93.114.95])
          (envelope-sender <kop at meme.com>)
          by mail21.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP
          for <submit at bugs.debian.org>; 17 Jul 2005 22:31:21 -0000
Received: by mofo.meme.com (Postfix, from userid 1000)
	id 67B366E422; Sun, 17 Jul 2005 18:24:01 -0500 (CDT)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Karl O. Pinc" <kop at meme.com>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: xsltproc: Trys to access network entity when --nonet is specified
X-Mailer: reportbug 3.8
Date: Sun, 17 Jul 2005 18:24:01 -0500
Message-Id: <20050717232401.67B366E422 at mofo.meme.com>
Delivered-To: submit at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: xsltproc
Version: 1.1.12-8
Severity: minor

When I generate any sort of output from docbook I get 
the message:

I/O error : Attempt to load network entity
http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd

I see that xsltproc is called with '--nonet' so I would not expect to
see this message.  I'm not sure this is the package where the problem
lies....

I can generate txt output just fine, AFIK, but not PDF output.  I'm
filing another bug for the PDF problem in case it's unrelated.

See also: Debian bug #286540
I note that wget can retrieve the url content without a problem.

The first 3 lines of my xml file are:
<?xml version='1.0'?>
    <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
           "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd">

There's no problem on a RedHat AS 3 system upgraded to support
docbook 4.3 with rebuilt rpms from Fedora (or maybe AS4):
docbook-style-xsl-1.65.1-2.noarch.rpm
docbook-dtds-1.0-25.noarch.rpm
docbook-utils-0.6.14-4.noarch.rpm
docbook-style-dsssl-1.78-4.noarch.rpm
docbook-utils-pdf-0.6.14-4.noarch.rpm

I also note (FWIW) that:
/usr/share/xml/docbook/schema/dtd/4.3/catalog
says:
  -- public identifiers override system identifiers, if both are supplied   --
OVERRIDE YES

This is different from the RH system.
Or maybe there some other problem in the mapping to local files?

Complete example transcript:
---------<snip>-------------
$ xmlto -v txt babase_system.xml
Format script: /usr/share/xmlto/format/docbook/txt
Convert to HTML (no chunks)
Real stylesheet: http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl
xmllint >/dev/null --xinclude --postvalid /home/kop/biz/babase/tla/babase-live/doc/babase_system.xml
Stylesheet: /tmp/xmlto-xsl.AehTPt
xsltproc --nonet --xinclude \
 -o /tmp/xmlto.GB0nmx/babase_system.proc \
 /tmp/xmlto-xsl.AehTPt \
 /home/kop/biz/babase/tla/babase-live/doc/babase_system.xml
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd
/home/kop/biz/babase/tla/babase-live/doc/babase_system.xml:3: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
           "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd">
                                                                    ^
Convert HTML to ASCII
$
--------<snip>----------

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686-smp
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages xsltproc depends on:
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libgcrypt11                 1.2.0-11.1   LGPL Crypto library - runtime libr
ii  libgpg-error0               1.0-1        library for common error values an
ii  libxml2                     2.6.16-7     GNOME XML library
ii  libxslt1.1                  1.1.12-8     XSLT processing library - runtime 
ii  zlib1g                      1:1.2.2-4    compression library - runtime

-- no debconf information

---------------------------------------
Received: (at 318817-done) by bugs.debian.org; 18 Jul 2005 17:30:15 +0000
>From mh at glandium.org Mon Jul 18 10:30:15 2005
Return-path: <mh at glandium.org>
Received: from aputeaux-153-1-64-127.w82-124.abo.wanadoo.fr (localhost.localdomain) [82.124.142.127] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1DuZRW-0004sd-00; Mon, 18 Jul 2005 10:30:15 -0700
Received: from mh by localhost.localdomain with local (Exim 4.52)
	id 1DuZTW-00086k-2U; Mon, 18 Jul 2005 19:32:18 +0200
Date: Mon, 18 Jul 2005 19:32:18 +0200
From: Mike Hommey <mh at glandium.org>
To: "Karl O. Pinc" <kop at meme.com>, 318817-done at bugs.debian.org
Subject: Re: [xml/sgml-pkgs] Bug#318817: xsltproc: Trys to access network entity when --nonet is specified
Message-ID: <20050718173218.GC29847 at glandium.org>
References: <20050717232401.67B366E422 at mofo.meme.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20050717232401.67B366E422 at mofo.meme.com>
X-GPG-Fingerprint: A479 A824 265C B2A5 FC54  8D1E DE4B DA2C 54FD 2A58
Organization: glandium.org
User-Agent: Mutt/1.5.9i
Delivered-To: 318817-done at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

On Sun, Jul 17, 2005 at 06:24:01PM -0500, Karl O. Pinc <kop at meme.com> wrote:
> Package: xsltproc
> Version: 1.1.12-8
> Severity: minor
> 
> When I generate any sort of output from docbook I get 
> the message:
> 
> I/O error : Attempt to load network entity
> http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd
> 
> I see that xsltproc is called with '--nonet' so I would not expect to
> see this message.  I'm not sure this is the package where the problem
> lies....

This error is exactly the one you want to see: since the net is not used
and you obviously don't have the docbook DTD installed locally, it tells
you it has made an attempt to load from the network, while not allowed
to do it, and did not do it.

Closing the bug.

Mike



More information about the debian-xml-sgml-pkgs mailing list