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

Re: Escher could have drawn it (Re: XML Schema and Entities)

  • From: Jeni Tennison <mail@j...>
  • To: "xml-dev@l..." <xml-dev@l...>
  • Date: Thu, 21 Jun 2001 16:11:31 +0100

escher head
Eric van der Vlist wrote:
> Dylan Walsh wrote:
>> Aside from the fact that only global elements have global scope,
>> what are the operations that are only achievable on global
>> elements? I've taken a quick look at the structures recommendation
>> and the primer, and I have not found a list of these. The primer
>> does mention limitations of global elements, that they cannot
>> contain references or have cardinality constraints.
>
> No, I was thinking about the global scope and its consequences.
>
> You can't reference local elements and that means for instance that you
> can't include or import local elements into others schemas.
>
> This has also an impact on your design style since you might be
> using global complex types and element groups to workaround this and
> I am not sure everyone is aware of this issue ;=) ...

Another place where this impacts is on substitution groups - the head
of a substitution group has to be a global element (otherwise the
other elements can't refer to it). Also, as far as I can work out, in
most cases the members of the substitution group will be global as
well (the exception being if you're using the head element within a
type that you later restrict by substituting the head element for the
more specialised element).

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/


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.