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

RE: RNG vs. XSD : is the use of abstract types andpolymorphis

  • From: David Lee <dlee@calldei.com>
  • To: "Costello, Roger L." <costello@mitre.org>, "xml-dev@l..."<xml-dev@l...>
  • Date: Mon, 12 Mar 2012 18:20:17 +0000

RE:  RNG vs. XSD :  is the use of abstract types andpolymorphis
In my opinion, what is "conceptual" and what is a "Model" depends on the use cases. 
Suppose I want to model a language type hierarchy.  Then "Inheritance" is not just conceptual, its the actual model.
In fact, as far as I can tell, this is exactly what the type system in XQuery and XSLT are ... and as I'm learning, one reason RNG cannot be used to supply the type information for them.
That doesnt necessarily mean its 'wrong' ... just that it is not solving the particular problem of modeling types for XQuery and XSLT.

David A. Lee

> -----Original Message-----
> From: Costello, Roger L. [mailto:costello@mitre.org]
> Sent: Monday, March 12, 2012 2:13 PM
> To: xml-dev@lists.xml.org
> Subject: RE:  RNG vs. XSD : is the use of abstract types and
> polymorphism a good or bad thing for schemas for XML?
> James Clark asserts that it is not the role of a schema language to model
> "conceptual" relationships such as inheritance. Such relationships are best
> modeled elsewhere.
> Let us suppose that James is correct.
> Question: Is it best practice to avoid the inheritance machinery provided in XML
> Schema -- derive-by-extension, derive-by-restriction, and element substitution?
> What are the practical benefits of doing so?
> /Roger
> ___________________________________________________________________
> ____
> XML-DEV is a publicly archived, unmoderated list hosted by OASIS
> to support XML implementation and development. To minimize
> spam in the archives, you must subscribe before posting.
> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
> Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
> subscribe: xml-dev-subscribe@lists.xml.org
> List archive: http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.