Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đã đóng
#1,892 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@fglock đang làm issue này rồi.

Từ ngày 27/10/2026.

  • #1894 của @fglock — đang mở

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
java, perl, xml
Lĩnh vực
backend, testing

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Perl
Star
65
Fork
8
Merge trung bình
6 giờ 6 phút
Pull request đã merge (30 ngày)
185

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của fglock/PerlOnJava

Tất cả issue của fglock/PerlOnJava

Issue tương tự

Thêm issue về Perl

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.