W3C home > Mailing lists > Public > xmlschema-dev@w3.org > November 2009

Reg. <all> model group extension

From: bharath <bharathkr@huawei.com>
Date: Mon, 30 Nov 2009 19:25:20 +0530
To: xmlschema-dev@w3.org
Cc: rajithr@huawei.com, arathikarki@huawei.com
Message-id: <000001ca71c4$c1e85d00$2301120a@china.huawei.com>
Hi All,
I have one doubt reg. <all> model group extension.
i have the following schema. 
<schema targetNamespace="testschema" xmlns:tns="testschema">
    <complexType name="BaseType">
            <element name="a1" type="string"/>
            <element name="a2" type="string"/>
    <complexType name="DerivedType">
          <extension base="tns:BaseType">
                <element name="a3" type="string"/>
Is this extension of the <all> model group correct?? 
If not please provide me the reason. Please reply me as soon as possible.
Thanks and Regards,
Received on Monday, 30 November 2009 13:56:10 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:17 UTC