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


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] W3C Schema: Resistance is Futile, says Don Box

[ Lists Home | Date Index | Thread Index ]

James Clark <jjc@jclark.com> wrote:

> In conclusion, my view is that although XSD out of the box provides much
> more support for data-binding than RELAX NG, nonetheless RELAX NG provides
> suitable basis on which to build support for data-binding.  The RELAX NG
> approach gives a lot of flexibility and avoids imposing costs on those who
> do not use XML just as a serialization format for C# and Java. However, I
> have to admit that until such time as the kinds of annotation I mentioned
> above get standardized, RELAX NG provides less interoperability than XSD
> data-binding.

I am in absolute agreement with your entire message except that I don't
think it's necessary to shoehorn RELAX NG into doing something it wasn't
designed to do. I view data binding and validation as two entirely different
beasts. RELAX NG did the right thing in not trying to accomplish both tasks
with one language. The fact that XSDL did not is most likely why it's so
much more complex and yet less powerful of a validation language than RELAX

If we really want to keep our specs layered and modular, we should use a
separate language to describe our types. Those documents could then be
transformed into code for data binding and transformed into RELAX NG (or
whatever) for validation.



News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS