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

Re: XML Schema considered harmful?


Re:  XML Schema considered harmful?

only one comment --

On Wed, 5 Jun 2002, Michael Leditschke wrote:

> >From point 7:
>
> "In W3C XML Schema there is no way to specify what is allowed as the
> root element."
>
>
> I've probably completely missed the point here, but doesn't an XML Schema
> that only has one global element achieve the above? Maybe its a matter of
> semantics but that's how it's panned out in practice for me thus far.
>
> Where more than one element is valid as the root of a document, I have
> declared the corresponding global elements.

The purpose of global element is not to specify the possible root
elements, it just happens to be a side-effect. Global element declarations
affect other things such as substitution groups in XML-Schema.

In my opinion, this has always been one of the big defects with XML-Schema
-- want to do something, do something else -- and claim that you can do 10
different things..

anyways, cheers and regards - murali.


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.