|
[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
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 a > 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 for > 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 NG. 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. Jason
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








