Skip to navigation

Bug Fix Advisory perl-XML-SAX bug fix update

Advisory: RHBA-2011:1446-1
Type: Bug Fix Advisory
Severity: N/A
Issued on: 2012-02-20
Last updated on: 2012-02-20
Affected Products: Red Hat Enterprise Linux (v. 5 server)
Red Hat Enterprise Linux Desktop (v. 5 client)

Details

An updated perl-XML-SAX package that fixes various bugs is now available for Red
Hat Enterprise Linux 5.

XML::SAX is a SAX parser access API for Perl. It includes classes and APIs
required for implementing SAX drivers, along with a factory class for returning
any SAX parser installed on the user's system.

This updated perl-XML-SAX package includes fixes for the following bugs:

* Parsing a long XML document with the XML::Simple API took an unacceptably long
time if the XML::SAX parser implementation was available. The XML::SAX parser
implementation was not optimized for large string variables (e.g. 2 MB). The
XML::SAX parser has been updated to handle the reading of large strings in a
more efficient way. This update enables long XML documents to be parsed in a
more reasonable time. (BZ#641735)

* XML documents which have a whitespace character as the first character were
not handled correctly. A warning, "Unable to recognize encoding of this
document", was printed. With this update, encoding detection code has been
changed to recognize XML documents with leading whitespace as a document without
an XML declaration and with a default encoding. The warning is no longer printed
as such documents are valid documents with encoding detection rules conforming
to documents without an XML declaration. (BZ#744200)

All users of perl-XML-SAX are advised to upgrade to this updated package, which
resolves these bugs.


Solution

Before applying this update, make sure all previously-released errata
relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to
use the Red Hat Network to apply this update are available at
https://access.redhat.com/kb/docs/DOC-11259

Updated packages

Red Hat Enterprise Linux (v. 5 server)

SRPMS:
perl-XML-SAX-0.14-11.src.rpm
File outdated by:  RHBA-2012:1184
    MD5: d057e8bdb0a1db6dc1969f5a3cfdc3d6
SHA-256: e347968677510678f89e2dbbc61deb9535144f1c1c7c639f46344164e2720db2
 
IA-32:
perl-XML-SAX-0.14-11.noarch.rpm
File outdated by:  RHBA-2012:1184
    MD5: 94a41f387b5a18f7acbee818732182a0
SHA-256: 65fdc1dcb11fdf414968a29bd0bdaa86dc43517c25965ff5a1af9e8fd45a527b
 
IA-64:
perl-XML-SAX-0.14-11.noarch.rpm
File outdated by:  RHBA-2012:1184
    MD5: 94a41f387b5a18f7acbee818732182a0
SHA-256: 65fdc1dcb11fdf414968a29bd0bdaa86dc43517c25965ff5a1af9e8fd45a527b
 
PPC:
perl-XML-SAX-0.14-11.noarch.rpm
File outdated by:  RHBA-2012:1184
    MD5: 94a41f387b5a18f7acbee818732182a0
SHA-256: 65fdc1dcb11fdf414968a29bd0bdaa86dc43517c25965ff5a1af9e8fd45a527b
 
s390x:
perl-XML-SAX-0.14-11.noarch.rpm
File outdated by:  RHBA-2012:1184
    MD5: 94a41f387b5a18f7acbee818732182a0
SHA-256: 65fdc1dcb11fdf414968a29bd0bdaa86dc43517c25965ff5a1af9e8fd45a527b
 
x86_64:
perl-XML-SAX-0.14-11.noarch.rpm
File outdated by:  RHBA-2012:1184
    MD5: 94a41f387b5a18f7acbee818732182a0
SHA-256: 65fdc1dcb11fdf414968a29bd0bdaa86dc43517c25965ff5a1af9e8fd45a527b
 
Red Hat Enterprise Linux Desktop (v. 5 client)

SRPMS:
perl-XML-SAX-0.14-11.src.rpm
File outdated by:  RHBA-2012:1184
    MD5: d057e8bdb0a1db6dc1969f5a3cfdc3d6
SHA-256: e347968677510678f89e2dbbc61deb9535144f1c1c7c639f46344164e2720db2
 
IA-32:
perl-XML-SAX-0.14-11.noarch.rpm
File outdated by:  RHBA-2012:1184
    MD5: 94a41f387b5a18f7acbee818732182a0
SHA-256: 65fdc1dcb11fdf414968a29bd0bdaa86dc43517c25965ff5a1af9e8fd45a527b
 
x86_64:
perl-XML-SAX-0.14-11.noarch.rpm
File outdated by:  RHBA-2012:1184
    MD5: 94a41f387b5a18f7acbee818732182a0
SHA-256: 65fdc1dcb11fdf414968a29bd0bdaa86dc43517c25965ff5a1af9e8fd45a527b
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

641735 - Performance issue with perl-XML-SAX-0.14-8
744200 - Lines starting with whitespaces in XML files lead to perl warnings



These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/