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

RE: can you use inheritance (extension) in relax ng?


RE:  can you use inheritance (extension)  in relax ng?
dareo@m... (Dare Obasanjo) writes:
>As a datayping
>language W3C XML Schema is the only game in town unless you count
>defunct technologies like Microsoft's XDR. Most of the folks on
>XML-DEV are interested in document validation. Most of my users are
>interested in datatyping. 

I've already expressed that I think data typing is a foolish approach to
XML, but that aside -

It seems like W3C XML Schema really fails at data typing in some
important ways. 

On the structure side, it tries to offer too much. Type hierarchies are
at the heart of how WXS defines structures, but those hierarchies can be
cut across by substitution groups and then differently by keys.  It
seems to combine the restrictions of single-inheritance with the
complications of multiple inheritance and then adds further
complication.  (I also don't think extension and restriction can cope
with both object structures and XML issues, though that at least is a
genuinely difficult problem.)

On the data side, the tools for deriving new types are, well,
pathetically weak, because of the limited primitive types and the
complete failure to provide even the simplest of techniques for defining
new pathways from the lexical space to the value space. The pattern
facet is a Swiss Army Knife, but it only goes a little way.

If I was interested in building type systems around XML documents, I
think I'd be even more frustrated with W3C XML Schema than I am today. 


PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.