[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Escher could have drawn it (Re: XML Schema and Entities)
- From: Mark Feblowitz <firstname.lastname@example.org>
- To: "'Bullard, Claude L (Len) '" <email@example.com>,"'firstname.lastname@example.org '" <email@example.com>,"'firstname.lastname@example.org '" <email@example.com>
- Date: Thu, 21 Jun 2001 11:10:58 -0400
You can consolidate an entire vocabulary of different doc types into a
single Schema Definition file. Very convenient for distribution of related
schema definitions. The down-sides have already been mentioned.
Now, will we ever get to (or need to get to) a point where we can have an
instance file with multiple roots?
From: Bullard, Claude L (Len)
To: firstname.lastname@example.org; email@example.com
Sent: 6/21/01 9:45 AM
Subject: RE: Escher could have drawn it (Re: XML Schema and Entities)
That would say under XML Schema, a document can
be rootless in the classical sense. It is more
like VRML, which having been designed from the
beginning to be object-oriented, has no document
root, simply a comment that must be included
at the head of the file. XML Schema in that
sense has been oriented toward object design.
Is this the case, that by having multiple
global elements, we can design a schema
with multiple document roots, or perhaps
simply, multiple trees?
Ekam sat.h, Vipraah bahudhaa vadanti.
Daamyata. Datta. Dayadhvam.h
From: Eric van der Vlist [mailto:firstname.lastname@example.org]
> In such a case, you
> could deduce that <a> is the root element, even if it is not
> marked as such. However, it may be the case that other elements, <x>,
> <y> and <z> could also be defined with the same content model as <a>,
> and therefore there are 4 possible root elements for a schema valid
> document. Is this the case?
Yes, all you have to do is to define these 4 elements as global.
The xml-dev list is sponsored by XML.org, an initiative of OASIS
The list archives are at http://lists.xml.org/archives/xml-dev/
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: email@example.com