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 摘要。