[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: W3C Schema: Resistance is Futile, says Don Box

don box relax ng
James Clark <jjc@j...> 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.



Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.

Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.