Fix XML::LibXSLT output mismatch in HTML::ToDocBook transforms
维护者通常 1 天内回复
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 48/100
调研方向
Start with t/20tfiles.t and its expected XML files, then trace the Java XML::LibXSLT provider's template dispatch and XML result handling for the reported DocBook nodes. Reproduce the three failed comparisons and add focused project regression coverage for the confirmed behavior; done when those comparisons match the expected output.
由索引模型根据 Issue 内容生成。
描述
Summary
PerlOnJava fails HTML::ToDocBook 0.0301's XML transformation output comparisons, while the same distribution's full test suite passes under system Perl. The failure appears to involve PerlOnJava's XML::LibXSLT compatibility implementation.
Evidence
- CPAN run:
20261026-163826-15395 - Distribution:
html2dbk0.0301 (HTML::ToDocBook) - PerlOnJava: 3 of 10 assertions fail in
t/20tfiles.t; the three failed assertions compare generated XML against expected files (tests 2, 4, and 6). - During the failing transforms, PerlOnJava emits repeated
No template for ...messages for DocBook nodes includingchapter,title,sect1, andsimpara. - System Perl 5.42.2: the full target suite passes, including
t/20tfiles.t. - The target requires Getopt::ArgvFile, HTML::SimpleParse, XML::LibXML, and XML::LibXSLT. The system-Perl oracle installed the missing prerequisites and completed successfully.
- Interpreter backend: not yet independently verified.
Expected behavior
The three transformations in t/20tfiles.t should generate the same DocBook XML as the distribution's expected output files, as they do under system Perl.
Investigation direction
Check the Java XML::LibXSLT provider's template dispatch and XML result handling against this transformation. Add focused project regression coverage for the confirmed behavior.
- 主要语言
- Perl
- 星标
- 65
- 派生
- 8
- 平均合并
- 6 小时 6 分钟
- 30 天内合并 PR
- 185
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
fglock/PerlOnJava 的其他 Issue
-
area:runtime documentation enhancement
难度 2/5 1-3 小时 新手友好度 72/100
fglock/PerlOnJava#1579 ·
维护者通常 1 天内回复
-
area:cpan-port area:parser bug
难度 5/5 一周以上 新手友好度 35/100
fglock/PerlOnJava#1919 ·
维护者通常 1 天内回复
-
area:performance enhancement
难度 5/5 一周以上 新手友好度 35/100
fglock/PerlOnJava#1911 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 35/100
fglock/PerlOnJava#1885 ·
维护者通常 1 天内回复
-
area:cpan-port enhancement help wanted
难度 4/5 3-5 天 新手友好度 45/100
fglock/PerlOnJava#1880 · 2 条评论 ·
维护者通常 1 天内回复
查看 fglock/PerlOnJava 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 64/100
-
Type: Bug
难度 2/5 1-3 小时 新手友好度 78/100
inverse-inc/packetfence#9605 ·
维护者通常 10 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
-
bug
难度 2/5 1-3 小时 新手友好度 64/100
RotherOSS/otobo#6344 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 85/100
darold/pgFormatter#426 ·