dita-community / dita-rng-converter

DITA-specific RNG-to-DTD and -XSD conversion tools. Produce conforming DTDs and XSDs from RNG shells and modules
3 stars 2 forks source link

RNC does not reflect annotations #1

Open drmacro opened 9 years ago

drmacro commented 9 years ago

Need to include annotations in the generated RNC per the RELAX compact syntax spec (http://relaxng.org/compact-20021121.html)

Attributes become

[ns:attname="value"]

Elements become:

ns:tagname [attname="value" attname="value" ]
 ## are used to specify documentation elements from the http://relaxng.org/ns/compatibility/annotations/1.0 namespace
drmacro commented 9 years ago

Might be easiest to just use Jing against all the the files in the RNG source tree--I don't think there's anything special that needs to be done.