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

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 UTC