Re: [ubl-ndrsc] Rule: 91

From
Dan Vint <>
Date
2003-07-18T14:00:46+00:00
ID
Thread
Re: [ubl-ndrsc] Rule: 91
At 12:36 PM 7/18/2003 +0800, Chin Chee-Kai wrote:
>I refer you to XML Schema Part 1: Structures, Section 4.2.2
>example "v2.xsd" part of which is illustrated:
>
>  <xs:redefine schemaLocation="v1.xsd">
>   <xs:complexType name="personName">
>    <xs:complexContent>
>     <xs:extension base="personName">
>     .....
>
>By definition, this <xs:complexType> definition is not global
>(not necessarily local), AND named.


Ah yes it is global. The redefine is working on redefining the global type 
defined in in the v1.xsd file as personName. Your example is using one of 
the mechanisms/features that creating global names in the first places 
allows it to be used. This example would be wrong if personName was not a 
global in the original schema.

..dan