Re: [LFS Trac] #5902: XML-Parser-2.57 (was: XML-Parser-2.56)

"LFS Trac" ([email protected] via lfs-book Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.book
Message-ID <[email protected]>
#5902: XML-Parser-2.57
-------------------------+-----------------------
 Reporter:  Bruce Dubbs  |       Owner:  lfs-book
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  13.1
Component:  Book         |     Version:  git
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+-----------------------
Changes (by Bruce Dubbs):

 * summary:  XML-Parser-2.56 => XML-Parser-2.57


Old description:

> New minor version.

New description:

 New minor version.

 2.57 2026-04-07

   Fixes:
     - Fix PE parsing regression that broke XML::Twig DTD
       round-tripping: defer parameter entity parsing activation to when a
       declaration handler is registered, preventing PE references from
       being consumed by the empty sub-parser instead of reaching the
       Default handler
     - Add regression tests for post-root character data
       routing and add ppport.h for XS backward compatibility macros
     - Add NULL check after XML_ParserCreate_MM to prevent
       segfault on memory allocation failure
     - Replace deprecated indirect object syntax in
       LWPExternEnt.pl (new URI(...) -> URI->new(...), etc.) for forward
       compatibility with Perl 5.36+ where 'use v5.36' disables the
       indirect feature. Also add 'use strict' to the file

   Improvements:
     - Add downstream CI testing for XML::XPath, XML::DOM, and
       XML::Twig to catch breakage in major consumers before release

   Maintenance:
     - Convert t/char_end_doc.t to Test::More; all 57 test files
       now consistently use Test::More
     - Expand CLAUDE.md with project conventions for generated
       files, releases, and testing
     - Add test coverage for load_encoding, xml_escape edge
       cases, and ContentModel API
     - Add test coverage for element_index, position_in_context,
       specified_attr, and setHandlers
     - Add test coverage for recognized_string, default_current,
       and original_string introspection methods
     - Add test coverage for context-tracking API (context,
       current_element, in_element, within_element, depth)
     - Add test coverage for parse_start/ExpatNB non-blocking
       parser API
     - Replace indirect object syntax in test files (t/decl.t,
       t/parament.t, t/external_ent.t)
     - Add test coverage for IO control character rejection in
       external entity paths

 2.56 2026-04-02 (by Todd Rinaldo)

   Fixes:
     - Skip original_string test when expat lacks
       XML_CONTEXT_BYTES, fixing false test failures on platforms
       where libexpat is compiled without XML_CONTEXT_BYTES (e.g.
       DragonFlyBSD system expat)

 2.55 2026-04-01 (by Todd Rinaldo)

   Fixes:
     - Fix struct-return ABI mismatch in XML_ExpatVersionInfo()
       by parsing the version string instead of using the struct return,
       which was corrupted when Perl and libexpat used different struct
       return conventions (-fpcc-struct-return vs -freg-struct-return)
     - Revert defaulthandle char
       routing and standalone string changes that broke downstream CPAN
       modules (XML-Twig, XML-DOM, XML-XPath)
     - Increase deep_nesting test depth from 600 to
       2048 to actually exercise the st_serial_stack reallocation code
       path
     - Update expat download URL from SourceForge to GitHub in
       the "expat not found" error message

   Improvements:
     - Add AddressSanitizer CI job for XS memory safety
       to catch heap buffer overflows and use-after-free bugs

   Maintenance:
     - Modernize last 4 print-ok test files (astress, namespaces,
       stream, skip) to Test::More with descriptive test names
     - Remove obsolete .travis.yml (project uses GitHub Actions)

--
Comment:

 Now version 2.57.
-- 
Ticket URL: <https://wiki.linuxfromscratch.org/lfs/ticket/5902#comment:4>
LFS Trac <https://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.

-- 
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.