Skip to content

Fix HTML parser tooling for TagRescue - #941

Merged
fglock merged 1 commit into
masterfrom
fix/cpan-compiler-tooling-followup-20260812
Aug 13, 2026
Merged

Fix HTML parser tooling for TagRescue#941
fglock merged 1 commit into
masterfrom
fix/cpan-compiler-tooling-followup-20260812

Conversation

@fglock

@fglock fglock commented Aug 12, 2026

Copy link
Copy Markdown
Owner

Summary

  • dispatch unhandled HTML::Parser events through the configured default handler
  • emit start_document and end_document around parse cycles
  • preserve undefined tag names for non-tag events
  • add a system-Perl-validated regression test for default-handler semantics

This fixes Template::Plugin::TagRescue at the shared Java-backed HTML parser layer, without a distribution preference.

Requested module results

  • Template::Plugin::TagRescue: passes after the fix (18 tests)
  • Cikl: passes its normal jcpan workflow; its release contains no runnable top-level test files
  • Python: ignored because CPAN resolves it to pyperl-1.0.3, which has no Perl build file and fails identically under system Perl
  • Data::Dumper::EasyOO: ignored because its upstream suite fails under system Perl with the same re-import/POD-coverage failures
  • GuiBuilder: ignored because its Tk dependency fails to configure under system Perl on this platform, after which GuiBuilder cannot load

Verification

  • prove src/test/resources/unit/html_parser_default_handler.t with system Perl
  • make
  • ./jcpan -t Template::Plugin::TagRescue
  • ./jcpan --strict-dependency-tests -t Template::Plugin::TagRescue
  • ./jcpan -t Cikl

The strict Cikl dependency audit also exercised dependency suites. Its remaining dependency failures reproduce under system Perl (for example Net::DNS's distribution test cannot locate its adjacent t/TestToolkit.pm) and are outside this PerlOnJava fix.

Generated with Codex

Route unhandled HTML::Parser events through the configured default
handler, bracket parse cycles with document events, and preserve undef
tag names for non-tag events. This restores Template::Plugin::TagRescue
filter output without distribution-specific preferences.

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

Co-Authored-By: Codex <158243242+openai-codex@users.noreply.github.com>
@fglock
fglock merged commit c017b8f into master Aug 13, 2026
2 checks passed
@fglock
fglock deleted the fix/cpan-compiler-tooling-followup-20260812 branch August 13, 2026 05:48
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