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

RE: Why Are Schemas Hard? (WAS RE: "Uh, what do I need this for" (wasRE:

  • From: Michael Brennan <Michael_Brennan@a...>
  • To: "'Bullard, Claude L (Len)'" <clbullar@i...>,'Nicolas LEHUEN' <nicolas.lehuen@u...>
  • Date: Wed, 22 Aug 2001 14:01:43 -0700

RE: Why Are Schemas Hard? (WAS RE: "Uh
> From: Bullard, Claude L (Len) [mailto:clbullar@i...]

<snip/>

> 1.  What about Schemas is hard?
> 
> 2.  Are some of the issues about things Schemas cannot 
>     represent (eg, the co-occurrence constraints)?
> 
> I'm missing something here.  With a product like 
> XML Spy for sanity checking, I don't seem to find 
> the Schemas hard to develop.  That doesn't say 
> that implementing a system around a schema isn't 
> hard, but I am curious what others are struggling with.
> Yes, the spec is tough (they all are), but the primer isn't, there 
> are dozens of web articles on learning schemas, and 
> a week or so with a beta of an IDE seems to cover 
> the sanity checks.

I strongly suspect that most of the criticisms of XSD's complexity are
coming from those who are trying to write tools that leverage schemas, such
as those trying to leverage schemas for data-binding.  

I also think that issues about things Schemas cannot represent are probably
a frustration to those trying to use it as a validation language. I know
that we have been adapting some of our integration interfaces to use XML
structures that can be adequately expressed with XML Schema. I think you
have to question the value of a validation language when you find that you
are redesigning your XML structures to accomodate the weaknesses of the
schema language. In our case, this means changing our structures such that
an element's content model is not identified by an attribute value. RELAX NG
can accomodate this, but XSD cannot. The lack of support for co-occurence
constraints is a frustration, as well. We are investigating incorporating
support for Schematron-like assertions into our integration mapping tools.
Up to now, developers have simply written code to handle these cases. 

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.