qiuwei / jing-trang

Automatically exported from code.google.com/p/jing-trang
Other
1 stars 1 forks source link

Support DTD compatibility infoset modification #67

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
No RNG validator (to my knowledge) currently supports the infoset
modification features of "RELAX NG DTD Compatibility", yet a number of
schemas make use of these features (notably ODF) and some grammars
expressed in other schema languages rely on infoset modification at
validation time (e.g. MathML).

Although from a theoretical POV it would be nice if schemas did *not* do
this I think it currently limits RNG takeup that the infoset modification
features of DTDs/XSD cannot be mirrored in RNG workflows without additional
processing. It would be nice if jing fully implemented the infoset
modification features of "RELAX NG DTD Compatibility".

Original issue reported on code.google.com by alex.bro...@gmail.com on 14 Jan 2009 at 10:46

GoogleCodeExporter commented 8 years ago
Agree this would be nice.

Note that the javax.xml.validation API supports infoset modification, so it 
would
definitely make sense to provide that when using this API.

Would you also want a command-line interface that outputs an XML document with 
the
modified infoset?

Original comment by jjc.jclark.com on 14 Jan 2009 at 11:18

GoogleCodeExporter commented 8 years ago
Yes - I think users are used to command-line tools (e.g. rxp) which can emit the
augmented instance, to stdout by default. It is helpful for people constructing
pipeline-like processed using batch scripts etc.

- Alex.

Original comment by alex.bro...@gmail.com on 14 Jan 2009 at 1:31