XML schemas: DTD, NVDL and RELAX NG validation through a Gradle plugin are not recognised (docbook)

Aperta
#289 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
30/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
python
Ambito
tooling

Direzione di ricerca

Start with the XML schemas profile in ecosystems/xml_schemas.py, specifically the _SUFFIXES tuple and the validator list (xmllint, jing, SchXslt), and check whether the corpus expectations in corpus/projects.toml cover the DocBook checkout. The issue does not say what the profile should do for DTD, NVDL or the Gradle-based RELAX NG check, so confirm the intended behaviour with a maintainer before editing. Done is undefined in the payload; any agreed change should be checked against the corpus results.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

docbook/docbook is mostly DTD and NVDL, and its build validates RELAX NG through a Gradle plugin; the XML schemas profile recognises neither the formats nor the validation → schema-validation FAIL, "no tests found (XSpec suites)". A gap, noted from the corpus.

Evidence from the corpus audit

docbook/docbook / schema-validation, tests-run
  • kind: UNSUPPORTED
  • actual: FAIL: no schema validation found in CI configuration (and no XSpec/DTD/NVDL awareness)
  • expected: n/a (gap): the DocBook build validates RELAX NG through a Gradle plugin, and the repository is mostly DTD
    and NVDL, which the XML schemas profile does not recognise as schema formats.
  • evidence: MovedToCodeberg/build.gradle:28: id 'com.nwalsh.gradle.relaxng.validate' version '0.0.8';
    :38: import com.nwalsh.gradle.relaxng.validate.RelaxNGValidateTask; :52: [group: 'org.relaxng', name: 'jing', ...];
    .map.json unrecognised suffixes: .ent 19, .nvdl 11, .dtd 6, .mod 6. Validator:
    ecosystems/xml_schemas.py:_SUFFIXES = .xsd .rng .rnc .sch / .xsl .xslt; validators are xmllint, jing, SchXslt
    commands only.
  • repro: unclear (tool support)
  • confidence: high

Found by the regression-corpus audit (235 real repositories, one or more per ecosystem profile; corpus and expected results in corpus/). Evidence is quoted from the audited checkouts at the commits pinned in corpus/projects.toml; <checkouts>/<owner>__<repo> is such a checkout.

🤖 Generated with Claude Code

https://claude.ai/code/session_01ByTXNqDWdM7HzezrFtEvQt

Lingua principale
Python
Stelle
4
Fork
1
Merge medio
10h 41m
PR unite (30g)
79

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di cpp-best-practices/project_validator

Tutte le issue di cpp-best-practices/project_validator

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.