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

Offen
#289 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
30/100
Issue-Typ
Feature
Klarheit
Muss geklärt werden
Aktivitätsstatus
Aktiv
Tech-Stack
python
Bereich
tooling

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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

Vorherrschende Sprache
Python
Sterne
4
Forks
1
Ø Merge
10 Std. 41 Min.
Gemergte PRs (30 T.)
79

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus cpp-best-practices/project_validator

Alle Issues in cpp-best-practices/project_validator

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.