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

Re: Build Rich Complexity from a Small Set ofWell-Defined Mark

  • From: rjelliffe <rjelliffe@allette.com.au>
  • To: "Costello, Roger L." <costello@mitre.org>
  • Date: Wed, 24 Aug 2011 08:52:14 -0700

Re:  Build Rich Complexity from a Small Set ofWell-Defined Mark
 On Wed, 24 Aug 2011 10:16:23 -0400, "Costello, Roger L." 
 <costello@mitre.org> wrote:

> Interestingly, XML Schemas is considered to be a complicated
> language. Perhaps 7 markup combinators are too many in a markup
> language?

 I'd say what people call complexity comes from two things:

  1) application power: is it easy to express the kinds of thing I am 
 interested in expressing?

  2) how memorable is it? does my normal routine reinforce my memory of 
 its details or let them fade?

  3) how many caveats or special cases pr multiple ways to do the same 
 thing does it have?

 The first relates to the problems being addressed and the scientific 
 limits to the technology.

 The second relates to people's tasks and the amount the schema language 
 re-uses concepts/syntax/vocabulary/models from elsewhere: if you use 
 DTDs everyday, XML Schemas will not be so complex; if you use DTDs every 
 day, Schematron will not be so complex.

 XML Schemas rather suffers from low bangs per buck in the first case 
 (many flowing out of the requirement to act in a streaming fashion for 
 grammars), low connection with XML processing tasks in the second 
 (depending on whether you do schemas all day or not), and is riddled 
 with caveats and alternatives in the third case.
 
> When creating an XML markup language consider following this 
> approach:
>
>     1.  Create a small set of well-defined markup combinators. From
> experience with XML Schemas, 7 or less markup combinators might be
> adequate.
>     2.  Create well-defined mechanisms for combining the markup
> combinators. Again, from experience with XML Schemas, 4 or less
> combining mechanisms might be adequate.

 Lets take three things that contribute to XML Schema 1.0's perceived 
 complexity: @elementFormDefault, xsd:complexContent, and compex type 
 extension by suffixation only.  Where do they fit in your scheme?

 Cheers
 Rick Jelliffe
 


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