Skip to content

Fix XML::Parser stream handling before IO::Handle load - #1157

Merged
fglock merged 1 commit into
masterfrom
fix/xml-parser-stream
Aug 27, 2026
Merged

Fix XML::Parser stream handling before IO::Handle load#1157
fglock merged 1 commit into
masterfrom
fix/xml-parser-stream

Conversation

@fglock

@fglock fglock commented Aug 27, 2026

Copy link
Copy Markdown
Owner

Summary

  • load IO::Handle before XML::Parser treats a native filehandle as an IO::Handle object
  • restore streaming parsing with Stream_Delimiter when IO::Handle was not explicitly loaded

Validation

  • system Perl: src/test/resources/module/XML-Parser/t/stream.t
  • JVM backend: stream.t
  • interpreter backend: stream.t
  • JPERL_TEST_FILTER=XML-Parser make test-bundled-modules
  • make
  • make check-links
  • GitHub Actions: Ubuntu and Windows builds passed

UAT

Full core UAT will be rerun from an idle machine. The runner allows 1,800 seconds for both re/anyof.t and io/crlf_through.t in that repeat.

Related

Discovered while validating #1105.

Generated with Codex

Ensure XML::Parser loads IO::Handle before using its input-record-separator
method on a native filehandle recognized by PerlOnJava.

Generated with [Codex](https://openai.com/codex/)

Co-Authored-By: Codex <noreply@openai.com>
@fglock
fglock merged commit af1c384 into master Aug 27, 2026
2 checks passed
@fglock
fglock deleted the fix/xml-parser-stream branch August 27, 2026 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant