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

オープン
#289 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
30/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
活発
技術スタック
python
領域
tooling

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
Python
スター
4
フォーク
1
平均マージ
10時間 41分
マージ済み PR(30日)
79

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

cpp-best-practices/project_validator のほかの issue

cpp-best-practices/project_validator の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。