OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

relax-ng message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Subject: re: RELAX NG FAQ

Message text written by Kohsuke KAWAGUCHI
- Why is RELAX NG so verbose?

I think I can answer this one along the lines of:

Compared to DTD syntax all XML based schema is more

Comparing <!ELEMENT foobar ( A, ( B | C )+, D) >

to its equivalent is always going to be more verbose.
As with everything the trade-offs bring advantages.
RELAX is much more expressive than DTD, and also
fixes the omissions and limitations in DTD.  The price
is that you have to accept more syntax.

However, notice that well written and indented RELAX is
vastly more readable and significantly less verbose than
the equivalent W3C Schema offering.

Verbose tends to one of those subjective issues, but on
the whole we feel that RELAX offers a good balance and
is not excessive.

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Powered by eList eXpress LLC