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 email@example.com http://www.xmlsh.org > -----Original Message----- > From: Costello, Roger L. [mailto:firstname.lastname@example.org] > Sent: Monday, March 12, 2012 2:13 PM > To: email@example.com > 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: firstname.lastname@example.org > subscribe: email@example.com > 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]
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