[xml/sgml-pkgs] Bug#259002: marked as done (xmllint doesn't recognize namespace correctly)

Debian Bug Tracking System owner@bugs.debian.org
Tue, 13 Jul 2004 02:33:08 -0700


Your message dated Tue, 13 Jul 2004 18:15:40 +0900
with message-id <40F3A83C.2050207@glandium.org>
and subject line [xml/sgml-pkgs] Bug#259002: xmllint doesn't recognize namespace correctly
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; 12 Jul 2004 15:57:20 +0000
>From ernie@antcom.de Mon Jul 12 08:57:20 2004
Return-path: <ernie@antcom.de>
Received: from pd95d1f90.dip.t-dialin.net (stigge.org) [217.93.31.144] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Bk3B9-00047I-00; Mon, 12 Jul 2004 08:57:20 -0700
Received: (qmail 9911 invoked from network); 12 Jul 2004 15:57:17 -0000
Received: from unknown (HELO atari.stigge.org) (192.168.1.99)
  by sbo.stigge.org with SMTP; 12 Jul 2004 15:57:17 -0000
Received: by atari.stigge.org (Postfix, from userid 1001)
	id 6DF04100442B6; Mon, 12 Jul 2004 17:57:17 +0200 (CEST)
Content-Type: multipart/mixed; boundary="===============1822688814=="
MIME-Version: 1.0
From: Roland Stigge <stigge@antcom.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: xmllint doesn't recognize namespace correctly
X-Mailer: reportbug 2.63
Date: Mon, 12 Jul 2004 17:57:17 +0200
Message-Id: <20040712155717.6DF04100442B6@atari.stigge.org>
Delivered-To: submit@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=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

This is a multi-part MIME message sent by reportbug.

--===============1822688814==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: libxml2-utils
Version: 2.6.10-3
Severity: normal

Hi,

the attached file causes the following:

=============================================================================
$ xmllint --noout --dtdvalid dia/diagram.dtd Diagram2.dia
Diagram2.dia:2: element diagram: validity error : No declaration for
attribute xmlns:dia of element diagram
=============================================================================

Thanks for considering.

bye,
  Roland

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.7
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (ignored: LC_ALL set to en_GB.UTF-8)

Versions of packages libxml2-utils depends on:
ii  libc6                       2.3.2.ds1-13 GNU C Library: Shared libraries an
ii  libxml2                     2.6.10-3     GNOME XML library
ii  zlib1g                      1:1.2.1.1-3  compression library - runtime

-- no debconf information

--===============1822688814==
Content-Type: text/xml; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="Diagram2.dia"

<?xml version="1.0" encoding="UTF-8"?>
<dia:diagram xmlns:dia="http://www.lysator.liu.se/~alla/dia">
  <dia:diagramdata>
    <dia:attribute name="background">
      <dia:color val="#ffffff"/>
    </dia:attribute>
    <dia:attribute name="pagebreak">
      <dia:color val="#000099"/>
    </dia:attribute>
    <dia:attribute name="paper">
      <dia:composite type="paper">
        <dia:attribute name="name">
          <dia:string>#A4#</dia:string>
        </dia:attribute>
        <dia:attribute name="tmargin">
          <dia:real val="2.8222"/>
        </dia:attribute>
        <dia:attribute name="bmargin">
          <dia:real val="2.8222"/>
        </dia:attribute>
        <dia:attribute name="lmargin">
          <dia:real val="2.8222"/>
        </dia:attribute>
        <dia:attribute name="rmargin">
          <dia:real val="2.8222"/>
        </dia:attribute>
        <dia:attribute name="is_portrait">
          <dia:boolean val="true"/>
        </dia:attribute>
        <dia:attribute name="scaling">
          <dia:real val="1"/>
        </dia:attribute>
        <dia:attribute name="fitto">
          <dia:boolean val="false"/>
        </dia:attribute>
      </dia:composite>
    </dia:attribute>
    <dia:attribute name="grid">
      <dia:composite type="grid">
        <dia:attribute name="width_x">
          <dia:real val="1"/>
        </dia:attribute>
        <dia:attribute name="width_y">
          <dia:real val="1"/>
        </dia:attribute>
        <dia:attribute name="visible_x">
          <dia:int val="1"/>
        </dia:attribute>
        <dia:attribute name="visible_y">
          <dia:int val="1"/>
        </dia:attribute>
        <dia:composite type="color"/>
      </dia:composite>
    </dia:attribute>
    <dia:attribute name="color">
      <dia:color val="#d8e5e5"/>
    </dia:attribute>
    <dia:attribute name="guides">
      <dia:composite type="guides">
        <dia:attribute name="hguides"/>
        <dia:attribute name="vguides"/>
      </dia:composite>
    </dia:attribute>
  </dia:diagramdata>
  <dia:layer name="Background" visible="true"/>
</dia:diagram>

--===============1822688814==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="diagram.dtd"

<!ELEMENT dia:diagram (dia:diagramdata, (dia:layer)*) >
<!ATTLIST dia:diagram
   xmlns CDATA #FIXED "http://www.lysator.liu.se/~alla/dia/">

<!ELEMENT dia:diagramdata (dia:attribute)* >

<!ELEMENT dia:layer (dia:object | dia:group)*>
<!ATTLIST dia:layer
   name CDATA #REQUIRED
   visible (true|false) #REQUIRED >

<!ELEMENT dia:object ((dia:attribute)*, dia:connections?)>
<!ATTLIST dia:object
   type CDATA #REQUIRED
   version NMTOKEN #REQUIRED
   id ID #REQUIRED >

<!ELEMENT dia:connections (dia:connection)*>

<!ELEMENT dia:connection EMPTY>
<!ATTLIST dia:connection
   handle NMTOKEN #REQUIRED
   to IDREF #REQUIRED
   connection NMTOKEN #REQUIRED>

<!ELEMENT dia:group (dia:object | dia:group)*>

<!ELEMENT dia:attribute (dia:composite | dia:int | dia:enum | dia:real |
		    dia:boolean | dia:color | dia:point | dia:rectangle | 
		    dia:string | dia:font)*>
<!ATTLIST dia:attribute  name CDATA #REQUIRED >

<!ELEMENT dia:composite (dia:attribute)*>
<!ATTLIST dia:composite  type CDATA #IMPLIED>

<!ELEMENT  dia:int EMPTY>
<!ATTLIST  dia:int  val NMTOKEN #REQUIRED>

<!ELEMENT  dia:enum EMPTY>
<!ATTLIST  dia:enum  val NMTOKEN #REQUIRED>

<!ELEMENT  dia:real EMPTY>
<!ATTLIST  dia:real  val CDATA #REQUIRED>

<!ELEMENT  dia:boolean EMPTY>
<!ATTLIST  dia:boolean  val (true|false) #REQUIRED>

<!ELEMENT  dia:color EMPTY>
<!ATTLIST dia:color  val CDATA #REQUIRED>

<!ELEMENT dia:point EMPTY>
<!ATTLIST dia:point  val CDATA #REQUIRED>

<!ELEMENT dia:rectangle EMPTY>
<!ATTLIST dia:rectangle  val CDATA #REQUIRED>

<!ELEMENT dia:string (#PCDATA)>

<!ELEMENT dia:font EMPTY>
<!ATTLIST dia:font name CDATA #REQUIRED>

--===============1822688814==--

---------------------------------------
Received: (at 259002-done) by bugs.debian.org; 13 Jul 2004 09:15:19 +0000
>From mh@glandium.org Tue Jul 13 02:15:19 2004
Return-path: <mh@glandium.org>
Received: from d74.haichifl7.vectant.ne.jp (glandium.org) [210.146.142.74] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BkJNf-0002SR-00; Tue, 13 Jul 2004 02:15:19 -0700
Received: from localhost ([127.0.0.1])
	by glandium.org with esmtp (Exim 3.36 #1 (Debian))
	id 1BkJO1-0003Zx-00; Tue, 13 Jul 2004 18:15:41 +0900
Message-ID: <40F3A83C.2050207@glandium.org>
Date: Tue, 13 Jul 2004 18:15:40 +0900
From: Mike Hommey <mh@glandium.org>
User-Agent: Mozilla Thunderbird 0.7.1 (X11/20040708)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Roland Stigge <stigge@antcom.de>,  259002-done@bugs.debian.org
Subject: Re: [xml/sgml-pkgs] Bug#259002: xmllint doesn't recognize namespace
 correctly
References: <20040712155717.6DF04100442B6@atari.stigge.org>
In-Reply-To: <20040712155717.6DF04100442B6@atari.stigge.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Delivered-To: 259002-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=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Roland Stigge wrote:
> Hi,
> 
> the attached file causes the following:
> 
> =============================================================================
> $ xmllint --noout --dtdvalid dia/diagram.dtd Diagram2.dia
> Diagram2.dia:2: element diagram: validity error : No declaration for
> attribute xmlns:dia of element diagram
> =============================================================================
> 
> Thanks for considering.

Quoting Daniel Veillard in 
http://mail.gnome.org/archives/xml/2004-March/msg00088.html:

 > DTD don't know about namespace, all namespace declaration are an
 > attribute and must be declared as such. This is not a bug, this is
 > conformance to specs.

I close this non-bug.

Mike