[XML-SIG] [Thomas Leonard <tal00r@ecs.soton.ac.uk>] Bug#140148: python2.1-xml: Namespace attributes not escaped by Printer

Jérôme Marant jmarant@free.fr
Wed, 27 Mar 2002 22:04:31 +0100


--=-=-=


One bug report.

Cheers,


--=-=-=
Content-Type: message/rfc822
Content-Disposition: inline

Return-Path: <debbugs@master.debian.org>
Delivered-To: online.fr-jerome.marant@free.fr
Received: from imap.free.fr [213.228.0.150]
	by localhost with IMAP (fetchmail-5.9.10)
	for jerome@localhost (single-drop); Wed, 27 Mar 2002 22:00:17 +0100 (CET)
Received: (qmail 7524 invoked from network); 27 Mar 2002 12:49:32 -0000
Received: from master.debian.org (65.125.64.135)
  by mrelay1-1.free.fr with SMTP; 27 Mar 2002 12:49:32 -0000
Received: from debbugs by master.debian.org with local (Exim 3.12 1
 (Debian))
	id 16qCqX-0006YB-00; Wed, 27 Mar 2002 06:48:09 -0600
X-Loop: owner@bugs.debian.org
Subject: Bug#140148: python2.1-xml: Namespace attributes not escaped by
 Printer
Reply-To: Thomas Leonard <tal00r@ecs.soton.ac.uk>, 140148@bugs.debian.org
Resent-From: Thomas Leonard <tal00r@ecs.soton.ac.uk>
Resent-To: debian-bugs-dist@lists.debian.org
Resent-CC: Jerome Marant <jerome@debian.org>,
 python-xml@packages.qa.debian.org
Resent-Date: Wed, 27 Mar 2002 12:48:02 GMT
Resent-Message-ID: <handler.140148.B.101723268620676@bugs.debian.org>
X-Debian-PR-Message: report 140148
X-Debian-PR-Package: python2.1-xml
X-Debian-PR-Keywords: 
Received: via spool by submit@bugs.debian.org id=B.101723268620676
          (code B ref -1); Wed, 27 Mar 2002 12:48:02 GMT
From: Thomas Leonard <tal00r@ecs.soton.ac.uk>
To: submit@bugs.debian.org
X-Mailer: bug 3.3.10.1
Message-Id: <E16qCgJ-00070Z-00@everest.ecs.soton.ac.uk>
Date: Wed, 27 Mar 2002 12:37:35 +0000
Delivered-To: submit@bugs.debian.org
Resent-Sender: Debian BTS <debbugs@master.debian.org>
MIME-Version: 1.0

Package: python2.1-xml
Version: 0.7-1
Severity: normal

When using ext/Printer.py, namespace attribute values are not escaped.
Eg, if you have 'xmlns:prefix' with the value "'foo'" then it gets written
out as:

	<node xmlns:prefix=''foo''/>

which then can't be loaded back in again!

(I have an XML editor which doesn't show the quotes, but forgetful users
sometimes put them in anyway ;-)


Debian Release: 3.0
Kernel Version: Linux everest 2.2.18pre21 #7 Fri Apr 13 14:24:24 BST 2001 i686 unknown

Versions of the packages python2.1-xml depends on:
ii  libc6          2.2.5-4        GNU C Library: Shared libraries and Timezone
ii  python2.1      2.1.2-3        An interactive object-oriented scripting lan
ii  python2.1-xmlb 2.1.2-3        XML support included in Python (v2.1)


--=-=-=
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit



-- 
Jérôme Marant <jerome@marant.org>
              <jerome.marant@free.fr>

http://marant.org
              

--=-=-=--