Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 451220 - please upgrade perl module XML::LibXML to 1.66
Summary: please upgrade perl module XML::LibXML to 1.66
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: perl-XML-LibXML
Version: 5.1
Hardware: All
OS: Linux
Target Milestone: rc
: ---
Assignee: Marcela Mašláňová
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2008-06-13 13:57 UTC by Paul Bijnens
Modified: 2008-06-23 16:08 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2008-06-23 16:08:29 UTC
Target Upstream Version:

Attachments (Terms of Use)

Description Paul Bijnens 2008-06-13 13:57:47 UTC
Several bugs in the perlmodule XML::LibXML 1.58-5 as packaged in RHEL 5.1 are
solved in the much more stable version 1.66.
Can the module be upgraded to XML::LibML 1.66 or later?

Version-Release number of selected component (if applicable):

My most blocking bugs are about:

- impossible (or at least difficult without convoluted code) to 
  process tagnames that have a name "comment", "text", "document" (and others
  because they clash with the nodenames for xml-comments, textcontent, etc.
  Version 1.66 uses the DOM-compliant nodeNames like "#comment", "#text" 
  etc. for these.

- version v1.58 had inconsistent behaviour regarding bytes/characters 
  (utf8 flag on or off) from the toString method, making it very difficult 
  to avoid double utf8-encodings or "wide character" warnings.

- serious bug in cloneNode (loss of attributes).

- namespace support very buggy in v1.58.  This results in impossibility to 
  decently manipulate e.g. MS-Office 2007 OOXML files.

My workaround now is to install 1.66 using CPAN, breaking rpm/yum management,
or install in nonstandard places, and add "use lib ..." to every program.

Comment 1 Marcela Mašláňová 2008-06-23 15:56:15 UTC
We didn't planned upgrade of this package in RHEL-5.3. Also this package is
required by cman and I'm not sure if all those changes don't break something there.

Comment 2 Stepan Kasal 2008-06-23 16:08:29 UTC
The general policy of RHEL is not to accept new upstream versions, in order to
maintain backward compatibility of the API.
Though we see that the upgrade to 1.66 would be a benefit for you, it might
cause unexpected effects to other RHEL users.  Consequently, we decided not to
take the risk.

Note You need to log in before you can comment on or make changes to this bug.