Test::HTML::Content 0.13 tests expose parser, XPath, and harness failures
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
调研方向
Start by reproducing the CPAN run on PerlOnJava using the recorded distribution and optional dependencies, then inspect t/02-tags.t, t/01-fallback-xpath.t, and the three t/embedded-*.t programs. The report points to HTML recovery, XML::XPath sort/AUTOLOAD behavior, and embedded-test execution as separate failure areas. Done means the upstream cases pass under the active PerlOnJava runtime; consider splitting these into focused follow-up issues as requested.
由索引模型根据 Issue 内容生成。
描述
Summary
The upstream Test::HTML::Content 0.13 test suite passes under system Perl but fails under PerlOnJava. The archived run exposes three compatibility failures: HTML parsing recovery, an XML::XPath AUTOLOAD tail-call inside sort, and the test harness attempting to launch embedded tests with a Windows-only shebang.
Evidence
CPAN run 20261005-091352-31215:
- System Perl 5.42.2: installed the exact distribution and missing prerequisites in an isolated local library; with the run-selected optional
XML::XPath1.49 andTest::Without::Module0.23 available, all 24 test programs / 437 tests passed. - PerlOnJava JVM backend: 34/372 subtests failed across 10/24 test programs.
- PerlOnJava interpreter backend: reproduced
t/02-tags.t(20/97 failed) andt/01-fallback-xpath.t(2/4 failed). - Environment: macOS arm64, Java 24.0.2. The CPAN log reports Perl 5.044001; it does not record the exact PerlOnJava source commit.
Observed failure classes
- HTML parsing/recovery:
t/02-tags.tfails tag and comment cases that pass under system Perl. The module first callsXML::LibXMLwithrecover(1)and then falls back toXML::XPathplusXML::Parser; PerlOnJava reportsnot well-formed (invalid token)for the HTML fixtures and returns no matching nodes. XML::XPathsort/AUTOLOAD behavior: the fallback tests fail withCan't goto subroutine from a sort subatXML::XPath::Node'sgoto &$AUTOLOADtail call. This reproduces on JVM and interpreter.- Embedded test launch: three
t/embedded-*.tprograms do not start because the PerlOnJava harness attempts to execute theirD:\perl\5.8.2\bin\perl.exeshebang on macOS. System Perl's harness runs them successfully.
Expected
The PerlOnJava CPAN test run should execute these test programs with the active PerlOnJava runtime, and the XML compatibility paths should pass the upstream tag, comment, and XPath cases that pass under system Perl. Please split the work into focused follow-up issues if these failures belong to different owners.
- 主要语言
- Perl
- 星标
- 64
- 派生
- 7
- 平均合并
- 4 小时 29 分钟
- 30 天内合并 PR
- 176
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
fglock/PerlOnJava 的其他 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
fglock/PerlOnJava#1579 ·
维护者通常 1 天内回复
-
area:cpan-port area:unicode bug
难度 2/5 1-3 小时 新手友好度 88/100
fglock/PerlOnJava#1341 ·
维护者通常 1 天内回复
-
area:platform area:runtime bug
难度 4/5 3-5 天 新手友好度 45/100
fglock/PerlOnJava#1635 ·
维护者通常 1 天内回复
-
area:cpan-port bug
难度 3/5 1-2 天 新手友好度 72/100
fglock/PerlOnJava#1633 ·
维护者通常 1 天内回复
-
area:io area:runtime bug
难度 5/5 一周以上 新手友好度 35/100
fglock/PerlOnJava#1630 ·
维护者通常 1 天内回复
查看 fglock/PerlOnJava 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 70/100
convos-chat/convos#977 ·
-
难度 1/5 1 小时以内 新手友好度 90/100
inverse-inc/packetfence#9387 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
linux-test-project/lcov#552 ·
-
难度 2/5 1-3 小时 新手友好度 62/100
szTheory/exifcleaner#383 ·
维护者通常 1 天内回复
-
1.severity: security
难度 2/5 1-3 小时 新手友好度 62/100
NixOS/nixpkgs#569828 · 1 个 reaction ·
维护者通常 1 天内回复