Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Fix XML::LibXSLT output mismatch in HTML::ToDocBook transforms

已关闭
#1,892 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

@fglock 已经在做这个了。

开始于 2026年10月27日。

  • #1894 来自 @fglock —— 未关闭

评估

难度
4/5
预计耗时
3-5 天
新手友好度
48/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
java, perl, xml
领域
backend, testing

调研方向

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 内容生成。

描述

area:cpan-port bug

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: html2dbk 0.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 including chapter, title, sect1, and simpara.
  • 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 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

fglock/PerlOnJava 的其他 Issue

查看 fglock/PerlOnJava 的全部 Issue

相似的 Issue

更多 Perl Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。