W3C home > Mailing lists > Public > xmlschema-dev@w3.org > March 2002

RE: XSV crash on renaming a complexType using extension with base xsd:anyType

From: Ashok Malhotra <ashokma@microsoft.com>
Date: Wed, 20 Mar 2002 15:25:45 -0800
Message-ID: <E5B814702B65CB4DA51644580E4853FB019EE978@red-msg-12.redmond.corp.microsoft.com>
To: "Aung Aung" <aaung@microsoft.com>, <xmlschema-dev@w3.org>
Since anyType contains all possible types it does not make sense to
extend it.

Try restricting it!  In any case, XSV should not crash.

All the best, Ashok 
=========================================================== 



-----Original Message-----
From: Aung Aung [mailto:aaung@microsoft.com] 
Sent: Wednesday, March 20, 2002 1:38 PM
To: xmlschema-dev@w3.org
Subject: XSV crash on renaming a complexType using extension with base
xsd:anyType

 

Hi,

It is to my understanding that renaming using anyType is allowed. 

I tried it with online XSV, and it crashed.

I just want to confirm with some other who have tried the following,
that these are valid in XSD.

Thanks ahead for any comments,

-Aung

 

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" > 

<xs:complexType name="ct1">

<xs:complexContent>

<xs:extension base="xs:anyType" />

</xs:complexContent>

</xs:complexType>

 

<xs:complexType name="ct2">

<xs:complexContent>

<xs:restriction base="xs:anyType" />

</xs:complexContent>

</xs:complexType>

</xs:schema>

 

 
Received on Wednesday, 20 March 2002 18:26:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:30 GMT