W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > January to March 2001


From: <afo@zurich.ibm.com>
Date: Wed, 7 Feb 2001 11:20:05 +0100
To: www-xml-schema-comments@w3.org
Message-ID: <C12569EC.0038C545.00@d12mta01.de.ibm.com>


 Part I Section 6.2.2  says  "The definitions within the  redefine
element itself are restricted to be redefinitions of components from the
redefined schema document" Does it mean that we cannot redefine
components which are not explicitly defined in the redefined schema
but which come from schemas included by the redefined schema document? In
other words, is
the following example valid?

In A.xsd:
<xsd:schema xmlns:xsd="http://www.w3.org/2000/10/XMLSchema" >
     <xsd:redefine schemaLocation="B.xsd">
          <xsd:simpleType name="C">
               <xsd:restriction base="C">
                  <xsd:length value="3"/>
     <xsd:simpleType name="A">
          <xsd:restriction base="xsd:string"/>

In B.xsd
<xsd:chema xmlns:xsd="http://www.w3.org/2000/10/XMLSchema">
     <xsd:include schemaLocation="C.xsd"/>
          <xsd:restriction base="xsd:string"/>

In C.xsd
<xsd:schema xmlns:xsd="http://www.w3.org/2000/10/XMLSchema">
          <xsd:restriction base="xsd:string"/>


Achille Fokoue .
Received on Wednesday, 7 February 2001 05:21:08 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:49:54 UTC