Questo contenuto non è disponibile nella lingua selezionata.

4.142. perl-XML-SAX


4.142.1. RHBA-2011:1446 — perl-XML-SAX bug fix update

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.

Bug Fixes

BZ#641735
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#744200
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.
All users of perl-XML-SAX are advised to upgrade to this updated package, which resolves these bugs.
Torna in cima
Red Hat logoGithubredditYoutubeTwitter

Formazione

Prova, acquista e vendi

Community

Informazioni sulla documentazione di Red Hat

Aiutiamo gli utenti Red Hat a innovarsi e raggiungere i propri obiettivi con i nostri prodotti e servizi grazie a contenuti di cui possono fidarsi. Esplora i nostri ultimi aggiornamenti.

Rendiamo l’open source più inclusivo

Red Hat si impegna a sostituire il linguaggio problematico nel codice, nella documentazione e nelle proprietà web. Per maggiori dettagli, visita il Blog di Red Hat.

Informazioni su Red Hat

Forniamo soluzioni consolidate che rendono più semplice per le aziende lavorare su piattaforme e ambienti diversi, dal datacenter centrale all'edge della rete.

Theme

© 2025 Red Hat