[xml/sgml-pkgs] Bug#226422: marked as done (xsltproc tries to verify DOCTYPE line for DTD document even when --novalid is specified)

Debian Bug Tracking System owner@bugs.debian.org
Sun, 25 Apr 2004 23:03:08 -0700


Your message dated Mon, 26 Apr 2004 14:53:22 +0900
with message-id <408CA3D2.4090900@glandium.org>
and subject line Bug#226422: xsltproc tries to verify DOCTYPE line for DTD document even when --novalid 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; 6 Jan 2004 16:22:54 +0000
Return-path: <dancer@netfort.gr.jp>
Received: from 68.105.138.210.bn.2iij.net (viper2.netfort.gr.jp) [210.138.105.68] 
	by master.debian.org with smtp (Exim 3.35 1 (Debian))
	id 1AbKdy-0002mg-00; Tue, 30 Dec 2003 08:14:47 -0600
Received: (qmail 5190 invoked from network); 30 Dec 2003 14:14:45 -0000
Received: from unknown (HELO atoron.dancer.pr.jp.netfort.gr.jp) (127.0.0.1)
  by viper2.netfort.gr.jp with SMTP; 30 Dec 2003 14:14:45 -0000
Date: Tue, 30 Dec 2003 23:15:52 +0900
Message-ID: <87y8su5r3b.wl@netfort.gr.jp>
From: Junichi Uekawa <dancer@netfort.gr.jp>
To: submit@bugs.debian.org
Subject: xsltproc tries to verify DOCTYPE line for DTD document even when --novalid is specified
User-Agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/21.3 (i386-pc-linux-gnu) MULE/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")
Content-Type: text/plain; charset=US-ASCII
Delivered-To: submit@bugs.debian.org
Status: RO
Content-Length: 2671
Lines: 62


Package: xsltproc
Version: 1.1.1-1


When processing pbuilder-doc.xml, I noticed that xsltproc does not like

<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "docbookx.dtd">


But works with 

<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "/usr/share/sgml/docbook/dtd/xml/4.2/docbookx.dtd">




The error output is:
$ xsltproc --novalid /usr/share/sgml/docbook/stylesheet/xsl/ldp/ldp-html.xsl index.xml > i.html
/usr/share/sgml/docbook/stylesheet/xsl/ldp/ldp-html-common.xsl:71: namespace error : Namespace prefix doc for type on param is not defined
<xsl:param name="funcsynopsis.decoration" select="1" doc:type="boolean"/>
                                                                       ^
/usr/share/sgml/docbook/stylesheet/xsl/ldp/ldp-html-common.xsl:77: namespace error : Namespace prefix doc for type on param is not defined
<xsl:param name="generate.book.toc" select="1" doc:type="boolean"/>
                                                                 ^
/usr/share/sgml/docbook/stylesheet/xsl/ldp/ldp-html-common.xsl:78: namespace error : Namespace prefix doc for type on param is not defined
<xsl:param name="generate.article.toc" select="1" doc:type="boolean"/>
                                                                    ^
/usr/share/sgml/docbook/stylesheet/xsl/ldp/ldp-html-common.xsl:79: namespace error : Namespace prefix doc for type on param is not defined
<xsl:param name="generate.part.toc" select="1" doc:type="boolean"/>
                                                                 ^
/usr/share/sgml/docbook/stylesheet/xsl/ldp/ldp-html-common.xsl:114: namespace error : Namespace prefix doc for type on param is not defined
<xsl:param name="graphic.default.extension" select="'.gif'" doc:type="string"/>
                                                                             ^
/usr/share/sgml/docbook/stylesheet/xsl/ldp/ldp-html-common.xsl:124: namespace error : Namespace prefix doc for type on param is not defined
aram name="section.label.includes.component.label" select="1" doc:type="boolean"

docbookx.dtd:2: parser error : Content error in the external subset
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "docbookx.dtd">
^
docbookx.dtd:2: parser error : Content error in the external subset
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "docbookx.dtd">
^
unable to parse index.xml




The problem does not occur if it is redirected from stdin.

$ xsltproc --novalid /usr/share/sgml/docbook/stylesheet/xsl/ldp/ldp-html.xsl < index.xml > i.html




I have a feeling that this is a recent behavior, and it's not respecting the --novalid option.




regards,
	junichi

---------------------------------------
Received: (at 226422-done) by bugs.debian.org; 26 Apr 2004 05:53:55 +0000
>From mh@glandium.org Sun Apr 25 22:53:55 2004
Return-path: <mh@glandium.org>
Received: from i61-195-247-171.us.catvmics.ne.jp (glandium.org) [61.195.247.171] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BHz3z-0003cy-00; Sun, 25 Apr 2004 22:53:55 -0700
Received: from localhost ([127.0.0.1] helo=glandium.org)
	by glandium.org with esmtp (Exim 3.36 #1 (Debian))
	id 1BHz3T-0006dx-00; Mon, 26 Apr 2004 14:53:23 +0900
Message-ID: <408CA3D2.4090900@glandium.org>
Date: Mon, 26 Apr 2004 14:53:22 +0900
From: Mike Hommey <mh@glandium.org>
User-Agent: Mozilla Thunderbird 0.5 (X11/20040306)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Junichi Uekawa <dancer@netfort.gr.jp>
CC: 226422-done@bugs.debian.org
Subject: Re: Bug#226422: xsltproc tries to verify DOCTYPE line for DTD document
 even when --novalid is specified
References: <4086691C.7010609@glandium.org>	<87wu47fwhg.wl@netfort.gr.jp>	<4089FAC2.9090809@glandium.org> <87vfjoq4nw.wl@netfort.gr.jp>
In-Reply-To: <87vfjoq4nw.wl@netfort.gr.jp>
X-Enigmail-Version: 0.83.2.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Delivered-To: 226422-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 1

Junichi Uekawa wrote:
> Confirmed that it's now okay to run:
> 
> xsltproc --novalid /usr/share/sgml/docbook/stylesheet/xsl/ldp/ldp-html.xsl Documentation/pbuilder-doc.xml > i.html; echo $?

Then, I'm closing the bug.

> On ldp-docbook-xsl, should I be filing a bug?

That would be a good thing to do, even though it's only a warning and 
doesn't prevent the XSL to work properly.

Regards

Mike