[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Escher could have drawn it (Re: XML Schema and Entities)
- From: Eric van der Vlist <vdv@dyomedea.com>
- To: "xml-dev@lists.xml.org" <xml-dev@lists.xml.org>
- Date: Thu, 21 Jun 2001 15:59:02 +0200
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 ;=) ...
Hope this helps.
Eric
--
Pour y voir plus clair dans la nebuleuse XML...
http://dyomedea.com/formation/
------------------------------------------------------------------------
Eric van der Vlist http://xmlfr.org http://dyomedea.com
http://xsltunit.org http://4xt.org http://examplotron.org
------------------------------------------------------------------------