Test::HTML::Content 0.13 tests expose parser, XPath, and harness failures
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Facilidade para iniciantes
- 25/100
Direção de pesquisa
Start by reproducing the CPAN run on PerlOnJava using the recorded distribution and optional dependencies, then inspect t/02-tags.t, t/01-fallback-xpath.t, and the three t/embedded-*.t programs. The report points to HTML recovery, XML::XPath sort/AUTOLOAD behavior, and embedded-test execution as separate failure areas. Done means the upstream cases pass under the active PerlOnJava runtime; consider splitting these into focused follow-up issues as requested.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Summary
The upstream Test::HTML::Content 0.13 test suite passes under system Perl but fails under PerlOnJava. The archived run exposes three compatibility failures: HTML parsing recovery, an XML::XPath AUTOLOAD tail-call inside sort, and the test harness attempting to launch embedded tests with a Windows-only shebang.
Evidence
CPAN run 20261005-091352-31215:
- System Perl 5.42.2: installed the exact distribution and missing prerequisites in an isolated local library; with the run-selected optional
XML::XPath1.49 andTest::Without::Module0.23 available, all 24 test programs / 437 tests passed. - PerlOnJava JVM backend: 34/372 subtests failed across 10/24 test programs.
- PerlOnJava interpreter backend: reproduced
t/02-tags.t(20/97 failed) andt/01-fallback-xpath.t(2/4 failed). - Environment: macOS arm64, Java 24.0.2. The CPAN log reports Perl 5.044001; it does not record the exact PerlOnJava source commit.
Observed failure classes
- HTML parsing/recovery:
t/02-tags.tfails tag and comment cases that pass under system Perl. The module first callsXML::LibXMLwithrecover(1)and then falls back toXML::XPathplusXML::Parser; PerlOnJava reportsnot well-formed (invalid token)for the HTML fixtures and returns no matching nodes. XML::XPathsort/AUTOLOAD behavior: the fallback tests fail withCan't goto subroutine from a sort subatXML::XPath::Node'sgoto &$AUTOLOADtail call. This reproduces on JVM and interpreter.- Embedded test launch: three
t/embedded-*.tprograms do not start because the PerlOnJava harness attempts to execute theirD:\perl\5.8.2\bin\perl.exeshebang on macOS. System Perl's harness runs them successfully.
Expected
The PerlOnJava CPAN test run should execute these test programs with the active PerlOnJava runtime, and the XML compatibility paths should pass the upstream tag, comment, and XPath cases that pass under system Perl. Please split the work into focused follow-up issues if these failures belong to different owners.
- Linguagem predominante
- Perl
- Estrelas
- 64
- Forks
- 7
- Merge médio
- 4h 27min
- PRs com merge (30d)
- 178
Preparar o ambiente
- Inclui um Dockerfile ou arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de fglock/PerlOnJava
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
fglock/PerlOnJava#1651 ·
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
fglock/PerlOnJava#1579 ·
Mantenedores costumam responder em até 1 dia
-
area:cpan-port area:unicode bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
fglock/PerlOnJava#1341 ·
Mantenedores costumam responder em até 1 dia
-
area:backend area:cpan-port area:parser bug
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 25/100
fglock/PerlOnJava#1659 ·
Mantenedores costumam responder em até 1 dia
-
Alien::Build archive extraction fails for Ninja and MesonTalvez já em andamento Um pull request vinculado a esta issue está aberto ou já foi mesclado. Aberta
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 25/100
fglock/PerlOnJava#1657 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
Todas as issues de fglock/PerlOnJava
Issues semelhantes
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 85/100
gugod/App-perlbrew#879 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
RotherOSS/otobo#6205 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Add IO::Pipe classAberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
yuki-kimoto/SPVM-IO#30 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
RotherOSS/servicecatalog#28 ·
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
convos-chat/convos#977 ·