oasis-open / dita-rng-converter

OASIS TC Open Repository: The DITA RNG Converter provides cross-platform tools for generating DITA-conforming DTD- and XSD-format versions of RELAX NG DITA grammars: document type shells, vocabulary modules, and constraint modules. It makes it as easy as possible to develop and maintain DITA grammars by allowing use of RELAX NG syntax.
https://github.com/oasis-open/dita-rng-converter
Apache License 2.0
7 stars 10 forks source link

Generate required parameter entity declarations in constraint modules #16

Open drmacro opened 6 years ago

drmacro commented 6 years ago

Constraint modules that redeclare content models or attribute lists that themselves refer to named definitions (e.g., "univ-atts") must include those declarations in their entirety in the DTD version of the module because in the DTDs the base declarations of those parameter entities occur after the constraint module in the shell inclusion order.

This aspect of DTD syntax makes creating non-trivial constraint modules particularly tedious so this is an important feature to add.