Your message dated Sat, 15 Aug 2015 15:51:35 +0000
with message-id <e1zqdk7-0004gu...@franck.debian.org>
and subject line Bug#324882: fixed in libxml-dom-perl 1.44-2
has caused the Debian Bug report #324882,
regarding libxml-dom-perl: ignores encoding on output
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
324882: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=324882
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libxml-dom-perl
Version: 1.43-4
Severity: important

*** lease type your report below this line ***

If an XML file is read and written using XML::DOM such as:

 ( new XML::DOM::Parser) -> parsefile ('in.xml') -> printToFile ('out.xml') ;

with a simple XML file (in.xml) like: 

 <?xml version="1.0" encoding="UTF-8"?>
 <blah>&#227;</blah>

(note the non-ascii &#227; a with acute) the resulting output (out.xml)
file is incorrectly coded with the (i presume) default locale, even
though UTF-8 is stated in the XML declaration.

This can be checked with xmllint:

 david@zeke:~$ xmllint out.xml 
 out.xml:2: parser error : Input is not proper UTF-8, indicate encoding !
 Bytes: 0xE3 0x3C 0x2F 0x62
 <blah>ã</blah>
      ^

In addition methods such as XML::DOM::Element::getAttribute do not
return UTF-8 encoded perl strings so unicode data is corrupted if
read/written from the document.

Regards,

--
David

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.27-2-386
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages libxml-dom-perl depends on:
ii  libwww-perl                   5.803-4    WWW client/server library for Perl
ii  libxml-parser-perl            2.34-4     Perl module for parsing XML files
ii  libxml-perl                   0.08-1     Perl modules for working with XML
ii  libxml-regexp-perl            0.03-7     Perl module for regular expression
ii  perl                          5.8.7-3    Larry Wall's Practical Extraction 

libxml-dom-perl recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
Source: libxml-dom-perl
Source-Version: 1.44-2

We believe that the bug you reported is fixed in the latest version of
libxml-dom-perl, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 324...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Florian Schlichting <f...@debian.org> (supplier of updated libxml-dom-perl 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 15 Aug 2015 14:52:41 +0200
Source: libxml-dom-perl
Binary: libxml-dom-perl
Architecture: source all
Version: 1.44-2
Distribution: unstable
Urgency: low
Maintainer: Debian Perl Group <pkg-perl-maintain...@lists.alioth.debian.org>
Changed-By: Florian Schlichting <f...@debian.org>
Description:
 libxml-dom-perl - Perl module for building DOM Level 1 compliant doc structures
Closes: 324882
Changes:
 libxml-dom-perl (1.44-2) unstable; urgency=low
 .
   * Team upload
 .
   [ gregor herrmann ]
   * Drop patch 01-fix_utf8_tests.patch (not needed anymore); add patch
     output_encoding.patch; encode output for printToFile() and toString() in
     encoding from xml declaration (closes: #324882).
 .
   [ Martín Ferrari ]
   * Modified gregor's patch to not touch strings except when printingToFile,
     as internally the strings should not be recoded. Also added
     encoding_test.patch, which is a testcase for encoding issues, both in
     parsing, and printing to a file.
 .
   [ gregor herrmann ]
   * Add debian/README.source to document quilt usage, as required by
     Debian Policy since 3.8.0.
   * debian/control: Added: ${misc:Depends} to Depends: field.
 .
   [ Nathan Handler ]
   * debian/watch: Update to ignore development releases.
 .
   [ gregor herrmann ]
   * Change my email address.
 .
   [ Ansgar Burchardt ]
   * debian/control: Convert Vcs-* fields to Git.
 .
   [ gregor herrmann ]
   * debian/control: update {versioned,alternative} (build) dependencies.
 .
   [ Salvatore Bonaccorso ]
   * Change Vcs-Git to canonical URI (git://anonscm.debian.org)
   * Change search.cpan.org based URIs to metacpan.org based URIs
 .
   [ gregor herrmann ]
   * Strip trailing slash from metacpan URLs.
 .
   [ Salvatore Bonaccorso ]
   * Update Vcs-Browser URL to cgit web frontend
 .
   [ Florian Schlichting ]
   * Switch to source format 3.0 (quilt)
   * Build-depend on libxml2-utils, as encodings.t requires xmllint
   * Bump dh compat to level 9
   * Switch to short-form debian/rules
   * Rename d/docs to d/libxml-dom-perl.docs
   * Delete extra Section and Priority fields in binary control section
   * Add DEP-3 header to patches
   * Make sure encodings.t fails if there are wide character warnings
   * Refresh debian/copyright (using copyright-format 1.0)
   * Declare compliance with Debian Policy 3.9.6
   * Prepare testbed and mark package autopkgtest-able
   * Add patch to fix POD errors and a typo
Checksums-Sha1:
 3723cb13338ee08041ac67861f8848bd53ffa2d5 2180 libxml-dom-perl_1.44-2.dsc
 3559cf22c26fa0d444f7b56f25db23324187f7b9 5348 
libxml-dom-perl_1.44-2.debian.tar.xz
 fb36ab6f7c9de32a9c21d5edef00d432bddcce74 179480 libxml-dom-perl_1.44-2_all.deb
Checksums-Sha256:
 fb7ab380f522a6314b91a44cb51dbfbe053c2d6e5a2ede7ae01e7e4abd5bf4ab 2180 
libxml-dom-perl_1.44-2.dsc
 d6e4e34f476f525863217c2e07c49add94b6979a3b1be4d4ea0d9f09a2e0f63a 5348 
libxml-dom-perl_1.44-2.debian.tar.xz
 7d0035dc2c7c3adbe09655d1b3fc83c76d12e34d23b7d1f5e4f2b4763bd90a28 179480 
libxml-dom-perl_1.44-2_all.deb
Files:
 5123a3ae4c6a5cef7864cb508adb6f35 2180 perl optional libxml-dom-perl_1.44-2.dsc
 35abfd59094cd9d9ba749337ab86fc9d 5348 perl optional 
libxml-dom-perl_1.44-2.debian.tar.xz
 9ce26d39b314b662a1a113d053655fb8 179480 perl optional 
libxml-dom-perl_1.44-2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJVz1DfAAoJEBKXO25y3Ae1qBEP/ilovEt/OXGZxRy6BD5/EamH
w6xT19zbwOkE7pXu2O/2O8bNCUOrP7vyJn6jvuvVtZsBLvLiE+IXuq4Qv7/ED4Op
i+gT7b4c2ihgYDKlgqOA1PtjG5gTqZSBV7fOnCrly1UvXU72j9oghEu1nbtRYlZp
cabYPJy4D7sFwQGGK/tCo2kHtXIy2u1WTwVora1PyasdncU8qPvnTcnn5c9UnySH
khLRUkXzA/edQtW4nNZT3EQ645y+EOi3iv8s+OIWN1qHaWFXi1MbQqyzkVl/7xAv
BzSbihNxmNxGBgVOMHho8YR3T7sEKiMU85K7q8MryEPBM8zeyakqVGgi9sFq0CWs
I+r4sba9znXg6+d5E0HQOcczeDrpJlGRgM9xxi/VLf1AO9vLE1l9+2mBldj4/ely
6ZJrzN1gQaR9utPc8x/G8OODLRHBwxh1SlW/7pErqoeQZ+FB4flH3KVyQ6vnyEJs
va86xW2IJwhGCWYF166a3cpoHlnzc6DSpWI/Is2F4NOS9i/+w00UbOnvdI9ELwVi
xcN4jAsDObi8bWBk1ux5BA6nPLAC+AWIv12cD6SIOFAVbPhw/HQNbSnf5CoyMzWW
7KfZTVAzFvi6o4SkGJ42IMOub16winFh2DaNRhkS6IERwVRtjlI8WfauSb+ibJvJ
5yH8WoXIJF8lS1e9viS8
=qSm0
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to