Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

クローズ
#1,892 コメント 1 件 リアクション 0 件 担当者 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分
マージ済み PR(30日)
185

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

fglock/PerlOnJava のほかの issue

fglock/PerlOnJava の issue をすべて見る

似ている issue

Perl の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。