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

RE: Is anySimpleType a real type?

From: Ashok Malhotra <ashokma@microsoft.com>
Date: Tue, 12 Mar 2002 08:59:34 -0800
Message-ID: <E5B814702B65CB4DA51644580E4853FB019EE90E@red-msg-12.redmond.corp.microsoft.com>
To: <Simon.Cox@csiro.au>, <xmlschema-dev@w3.org>
Yes, anySimpleType can be used in element declarations?

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


-----Original Message-----
From: Simon.Cox@csiro.au [mailto:Simon.Cox@csiro.au] 
Sent: Monday, March 11, 2002 8:48 PM
To: xmlschema-dev@w3.org
Subject: Is anySimpleType a real type?

Can anySimpleType be used in element declarations?
Or is it just a notional type whose name cannot be exposed in a schema!

e.g. I have the following line in a schema document:

<xs:element name="_ScalarValue" type="xs:anySimpleType" abstract="true"
substitutionGroup="gml:_Value"/>

but MSXML is complaining

"Undeclared XSD type :
'{http://www.w3.org/2001/XMLSchema}anySimpleType'."

_____
Simon.Cox@csiro.au  CSIRO Exploration & Mining
26 Dick Perry Avenue, Kensington WA 6151
PO Box 1130, Bentley WA 6102  AUSTRALIA
T: +61 (8) 6436 8639  F: +61 (8) 6436 8555  C: +61 (4) 0330 2672
http://www.csiro.au/page.asp?type=resume&id=CoxSimon
Received on Tuesday, 12 March 2002 12:00:09 GMT

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