esgee85 / jing-trang

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

Support for a:defaultValue for attributes #126

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
There are some XML frameworks that reply on default attributes, the main 
example is DITA where each element has a class attribute that is supposed to 
come from the DTD or schema.
The Relax NG DTD compatibility spec mentions that a:defaultValue can be used to 
specify a default attribute value but Jing does not include this in the 
attribute pattern. Having such support in Jing will make possible to implement 
DITA in Relax NG.
I already did some work on this and there seems to be only a few small changes 
required for this support.

Original issue reported on code.google.com by georgebina76 on 6 Nov 2010 at 11:52

GoogleCodeExporter commented 8 years ago

Original comment by jjc.jclark.com on 6 Nov 2010 at 12:10