Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

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

Cerrado
#1,892 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

@fglock ya está trabajando en esto.

Desde el 27/10/2026.

  • #1894 de @fglock — abierto

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
48/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
java, perl, xml
Área
backend, testing

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Perl
Estrellas
65
Forks
8
Merge medio
6 h 6 min
PR fusionados (30 d)
185

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de fglock/PerlOnJava

Todos los issues de fglock/PerlOnJava

Issues similares

Más issues de Perl

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.