W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > April to June 2002

XML-Schema 1.1 suggestions: xsi:type, xsd:choice

From: Mark Seaborne <MSeaborne@origoservices.com>
Date: Wed, 3 Apr 2002 08:28:44 +0100
Message-ID: <DC65AE678B89004B9CCB202E19482CC704FA5D@mail.origoservices.local>
To: <www-xml-schema-comments@w3.org>
Here are some suggestions for future versions of XML-Schema:

1. xsi:type
We have begun making use of xsi:type in some of our schemas, to allow a certain degree of flexibility to schema users. The normal senario for use is that a default type is used most of the time, but in certain, well defined circumstances a variant is required. It would be useful to us if there was a way to define which type is to be used in the "normal", or "default" case. Obviously we document can this, but a mechanism within XML-Schema to define a default type would be welcomed.

2. xsd:choice
We have come across many situations where it would have been most useful to be able to apply xsd:choice to attributes, and so would like to suggest this change to XML-Schema.

Thank you

Mark Seaborne

Standards Architect

Origo Services Ltd
Moyen House
Heriot-Watt Research Park North
EH14 4AP
Received on Wednesday, 3 April 2002 02:40:17 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:49:59 UTC