Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: simple attribute question

From: noah_mendelsohn@--.---.---
To: "Michael Kay" <mhk@---.--.-->
Date: 8/12/2004 6:04:00 AM
Michael Kay writes:

>> I find the syntax extremely unmemorable

I do too and I fought hard against this and other similar strangeness, 
much of which came late in the design process. 

For what it's worth, my recollection is that a fair amount of the current 
deeply nested syntax was justified by the view that our language should be 
able to do a reasonably good job of validating its own syntax.  Many of 
the options that are simpler for users would involve co-occurrence 
contstraints in the .xsd syntax;  for example, you might find that a 
baseType attribute would be allowed only if a derivation by restriction or 
extension were specified.   The decision was made that since the language 
was not good for enforcing such constraints (and perhaps because some 
members of the WG considered such usage to be sub-optimal markup), we went 
for the clumsy, deeply nested and "unmemorable" syntax that we have today. 
 I think there were also those who felt that ease of hand authoring is a 
secondary goal, as is "terseness" [1], and that most schemas would be 
created automatically by tools.  I have never agreed with that view. 
Indeed, I have always thought that our deeply nested "no co-occurrence 
constraints" syntax was one of the most damaging decisions we made.   With 
a more straightforward syntax, the language would appear quite a bit more 
simple and straightforward for many purposes, and that an 80/20 subset 
would be very easy to learn and remember.  No doubt some subtleties and 
unfortunate complexities would remain for power users. 

Anyway, that's the history as I remember it.

Noah

[1] http://www.w3.org/TR/1998/REC-xml-19980210#sec-origin-goals

--------------------------------------
Noah Mendelsohn 
IBM Corporation
One Rogers Street
Cambridge, MA 02142
1-617-693-4036
--------------------------------------





From nobody@w... Thu Aug 12 16:26:46 2004
Received: from wiggum.w3.org ([


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