Hello.
Nicolas Mailhot wrote:
[snip]
W3C schema and relax NG are two grammars for specifying constraints on
an XML document. W3C schema is the oldest one and the only one everyone
supports. Relax NG is an newer alternative.
http://www.oasis-open.org/committees/relax-ng/spec-20011203.html
A lot of people are very very frustrated with W3C schema. However the
frustration is not related to the datatypes part, as far as I know every
single w3c schema datatype is reproduced as-is in relax NG.
My so far brief experience of XML schema vs. Relax NG comes down to this:
* It looks a lot simpler to express your document in Relax NG than XML
schema. I haven't tried this myself, but a number of people at my work
have and also say this.
* XML schema has no way of saying "allow this group of elements in any
order". There are ways round that, but they produce a sub-optimal schema
which can let errors through. Relax NG supports this natively.
* Relax NG's syntax looks a lot easier to remember. I keep having to
look at "XML in a Nutshell"'s XML schema chapter, to write any XML schema.
Bye, Rich =]
--
Richard Dawe [ http://homepages.nildram.co.uk/~phekda/richdawe/ ]
"You can't evaluate a man by logic alone."
-- McCoy, "I, Mudd", Star Trek
_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils