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
Original issue reported on code.google.com by
georgebina76
on 6 Nov 2010 at 11:52