Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: [xml-dev] XML Schema: "Best used with the ______ tool"

From: "Jack Lindsey" <Jack@-------.--->
To: "'bryan rasmussen'" <rasmussen.bryan@-----.--->,
Date: 11/28/2008 5:18:00 AM
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-dev] 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



_______________________________________________________________________

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



transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent