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

RE: Reg. <all> model group extension

From: bharath <bharathkr@huawei.com>
Date: Mon, 30 Nov 2009 19:56:03 +0530
To: 'Michael Kay' <mike@saxonica.com>, xmlschema-dev@w3.org
Cc: rajithr@huawei.com, arathikarki@huawei.com
Message-id: <000e01ca71c9$0c39cc00$2301120a@china.huawei.com>
I am getting error in libxml2 as well as altova spy saying that 
"An all modelgroup is neither allowed in complexType definition
"tns:BaseType" nor in its extension tns: DerivedType". "
Can you please lookinto this schema whether it is valid or not.
Thanks and Regards,


Address: Huawei Industrial Base
Bantian Longgang
Shenzhen 518129, P.R.China
This e-mail and its attachments contain confidential information from
HUAWEI, which 
is intended only for the person or entity whose address is listed above. Any
use of the 
information contained herein in any way (including, but not limited to,
total or partial 
disclosure, reproduction, or dissemination) by persons other than the
recipient(s) is prohibited. If you receive this e-mail in error, please
notify the sender by 
phone or email immediately and delete it!



From: Michael Kay [mailto:mike@saxonica.com] 
Sent: Monday, November 30, 2009 7:36 PM
To: 'bharath'; xmlschema-dev@w3.org
Cc: rajithr@huawei.com; arathikarki@huawei.com
Subject: RE: Reg. <all> model group extension

It looks OK to me by visual inspection - I haven't tried running it.
Why do you doubt that it's OK? 


Michael Kay



From: xmlschema-dev-request@w3.org [mailto:xmlschema-dev-request@w3.org] On
Behalf Of bharath
Sent: 30 November 2009 13:55
To: xmlschema-dev@w3.org
Cc: rajithr@huawei.com; arathikarki@huawei.com
Subject: Reg. <all> model group extension

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 14:26:49 UTC

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