此内容没有您所选择的语言版本。

4.142. perl-XML-SAX


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.
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.