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

Ouverte
#289 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
1-2 jours
Accessibilité débutants
30/100
Type d'issue
Fonctionnalité
Clarté
À clarifier
Activité
Active
Stack technique
python
Domaine
tooling

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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

Langage dominant
Python
Étoiles
4
Forks
1
Merge moyen
10 h 41 min
PR mergées (30 j)
79

Préparer son environnement

Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de cpp-best-practices/project_validator

Toutes les issues de cpp-best-practices/project_validator

Issues similaires

Plus d'issues Python

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.