OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] Global Complex Types vs. Global Elements

[ Lists Home | Date Index | Thread Index ]

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@w3china.org] 
> Sent: 17 July 2005 16:08
> To: xml-dev@lists.xml.org
> Subject: [xml-dev] 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>
> 
> 






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS