[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: Francis Norton <francis@r...>
  • To: Mark Feblowitz <mfeblowitz@f...>
  • Date: Thu, 21 Jun 2001 17:20:30 +0100

xml schema multiple roots
Can you handle the case of multiple targetNamespaces in your
consolidated Schema Defnition file?

Francis.

Mark Feblowitz wrote:
> 
> 
> Yes -
> 
> 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?
> 
> -----Original Message-----
> From: Bullard, Claude L (Len)
> To: vdv@d...; xml-dev@l...
> 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?
> 
> Len
> http://www.mp3.com/LenBullard
> 
> Ekam sat.h, Vipraah bahudhaa vadanti.
> Daamyata. Datta. Dayadhvam.h
> 
> -----Original Message-----
> From: Eric van der Vlist [mailto:vdv@d...]
> 
> > In such a case, you
> > could deduce that <a> is the root element, even if it is not
> explicitly
> > 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
> <http://www.oasis-open.org>
> 
> 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: xml-dev-request@l...
> 
> ------------------------------------------------------------------
> The xml-dev list is sponsored by XML.org, an initiative of OASIS
> <http://www.oasis-open.org>
> 
> 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: xml-dev-request@l...

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.