Feature-Request: NVDL Unterstützung evtl. sinnvoll
https://de.wikipedia.org/wiki/Namespace-based_Validation_Dispatching_Language
Jing steht jetzt im Plugin zur Verfügung haben. Jing unterstützt auch NVDL, zumindest sehe ich eine Factory Klasse.
https://github.com/relaxng/jing-trang/tree/master/mod/nvdl/src/main/com/thaiopensource/validate/nvdl
Der Code stammt scheinbar ursprünglich von den Oxygen Leuten: https://www.oxygenxml.com/onvdl.html
DocBook wäre ein NVDL Fall, dort wird RelaxNG und Schematron zur Validierung definiert.
http://docs.oasis-open.org/docbook/docbook/v5.1/os/schemas/
docbook.nvdl
<?xml version="1.0" encoding="UTF-8"?>
<rules xmlns="http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0"
startMode="docbook">
<mode name="docbook">
<namespace ns="http://docbook.org/ns/docbook">
<validate schema="rng/docbook.rng" useMode="attach"/>
<validate schema="sch/docbook.sch" useMode="attach"/>
</namespace>
</mode>
<mode name="attach">
<anyNamespace>
<attach/>
</anyNamespace>
</mode>
</rules>
Keine gute Idee wie man es mit unseren Katalog bringen könnte. Es macht den Eindruck eines "Mini-Katalogs" für sich, in dem für einen oder mehrere Namespaces verschiedene Validierungsschritte und/oder Regeln Querbeet definiert werden.
Bei TEI liegt auch nvdl rum, sieht aber komplexer aus.