You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When converting java -Xmx10G -jar trang-20181222\trang.jar -I rng -O xsd simple.rng simpletrang.xsd the schema is correctly converted but any element/other namespace content is dropped from the annotations
So <a:documentation>test top level rng schema</a:documentation> correctly gets converted to a text only xsd:documentation element but
<a:documentation>What happens now
xhtml:div
xhtml:pThe country attribute provides a choice of:</xhtml:p>
xhtml:ul
xhtml:liUS</xhtml:li>
xhtml:liJP</xhtml:li>
</xhtml:ul>
</xhtml:div>
<ci:include href="zoo-doc.xhtml" xpointer="cheetah"/>
</a:documentation>
is dropped completely
Developers want to include formatted annotations on our schema and pass them through to XSD schema so the documentation is also their.
This will also allow developers to use documentation creation tools (such as the one provided by Oxygen) that supports XSD inpout but not RNG.
I can't even get plain text <a:documentation>foo</a:documentation> tags in an RNG schema to be preserved as <xs:annotation><xs:documentation>foo</xs:documentation></xs:annotation>.
When converting java -Xmx10G -jar trang-20181222\trang.jar -I rng -O xsd simple.rng simpletrang.xsd the schema is correctly converted but any element/other namespace content is dropped from the annotations
So <a:documentation>test top level rng schema</a:documentation> correctly gets converted to a text only xsd:documentation element but
<a:documentation>What happens now
xhtml:div
xhtml:pThe country attribute provides a choice of:</xhtml:p>
xhtml:ul
xhtml:liUS</xhtml:li>
xhtml:liJP</xhtml:li>
</xhtml:ul>
</xhtml:div>
<ci:include href="zoo-doc.xhtml" xpointer="cheetah"/>
</a:documentation>
is dropped completely
Developers want to include formatted annotations on our schema and pass them through to XSD schema so the documentation is also their.
This will also allow developers to use documentation creation tools (such as the one provided by Oxygen) that supports XSD inpout but not RNG.
See Zip for example input and output
simple.zip
The text was updated successfully, but these errors were encountered: