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

RE: XML Schema: "Best used with the ______ tool"

  • From: "Jack Lindsey" <Jack@L...>
  • To: "'bryan rasmussen'" <rasmussen.bryan@g...>,<rjelliffe@a...>
  • Date: Fri, 28 Nov 2008 00:17:18 -0500

RE:  XML Schema: "Best used with the ______ tool"
Hey Bryan:
Let me try to sooth your headache with my Substitution Groups 101 articles.
Just settle back, Tuborg glass in hand:

Subtyping in W3C XML Schema, Part 1
Three Degrees of Inheritance
http://www.tdan.com/view-articles/7185

Subtyping in W3C XML Schema, Part 2
Extensions in another Namespace
http://www.tdan.com/view-articles/7186

JAXB, and especially XMLBeans, make light work of generating Java classes
for such XML Schemas.  I know back in the Stone Age RPC Encoded Web services
gave data binding a bad name and the major relational DBMS vendors have paid
scant attention to SQL2 let alone SQL3, but if you stick to basic bread and
butter data types, like UN/CEFACT ebXML CCTS (ISO/TS 15000-5) Core Data
Types, then life's really not so bad - unless you are looking to pick nits
and score points.

Substitution Groups are also a great way to extend data exchange
vocabularies across namespaces for local communities of interest, à la
OAGIS.

Cheers

Jack Lindsey


-----Original Message-----
From: bryan rasmussen [mailto:rasmussen.bryan@g...] 
Sent: Thursday 27 November, 2008 04:51
To: rjelliffe@a...
Cc: xml-dev@l...
Subject: Re:  XML Schema: "Best used with the ______ tool"

>
> On the immediate issue of XSD, there is no technical reason to disallow
> support for element substitution groups for data-binding, as far as I can
> see. A schema that uses them can be transformed into an equivalent schema
> that uses them: in this particular case I don't see why they technically
> provide any obstacle to databinding tools, since they don't rely on any
> target capabilities (i.e. they are an injection mechanism, not a different
> component IYKWIM.)

I think a reason why Substitution groups might not be widely supported
with databinding tools (not actually sure if they are or not because I
don't use databinding) is simply that back when databinding was the
hip way to solve programmer XML headaches substitution groups were
underutilized (which I understand, the syntax always gives me
headaches) and probably it was not implemented as being unimportant or
put on a to do list.

by the time that substitution groups became important - GML, XBRL...
the shine was off of databinding.

Cheers,
Bryan Rasmussen

_______________________________________________________________________

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@l...
subscribe: xml-dev-subscribe@l...
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!

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-2007 All Rights Reserved.