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

RE: Global Complex Types vs. Global Elements

  • To: <collin@w...>,<xml-dev@l...>
  • Subject: RE: Global Complex Types vs. Global Elements
  • From: "Michael Kay" <mike@s...>
  • Date: Sun, 17 Jul 2005 18:46:47 +0100
  • In-reply-to:
  • Keywords: ??
  • Thread-index: AcWJv55yWwiItMHbQXKMSEejY65uXABHtu+wAAY517A=

complex types vs elements
I don't think it makes sense.

But I have great sympathy with any technical author trying to write friendly
documentation for XML Schema that does make sense.

Michael Kay
http://www.saxonica.com/ 

> -----Original Message-----
> From: Collin Hsu [mailto:collin@w...] 
> Sent: 17 July 2005 16:08
> To: xml-dev@l...
> Subject:  Global Complex Types vs. Global Elements
> 
> Hi, all
> 
> When I read XMLSPY 2005 User Manual today, I found the 
> following statement
> which really baffles me. 
> 
> {{//http://www.altova.com/manual2005/XMLSpy/SpyEnterprise/glob
> alelements.htm
> 
> A globally declared element can be reused at multiple 
> locations. __?___It
> differs from a globally declared complex type in that its 
> content model
> cannot be modified without also modifying the global element 
> itself___?___.
> If you change the content model of an element that references a global
> element, then the content model of the global element will 
> also be changed,
> and, with it, the content model of all other elements that 
> reference that
> global element. 
> 
> }}
> 
> Since XML Schema Primer & Structures do not mention the above point
> explicitly, could you give me some explanation as to the sentence?
> 
> Thanks!
> 
> Regards,
> Collin
> 
> 
> 
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
> 
> The list archives are at http://lists.xml.org/archives/xml-dev/
> 
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://www.oasis-open.org/mlmanage/index.php>
> 
> 



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.