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

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
Edinburgh
UK
EH14 4AP

Received on Wednesday, 3 April 2002 02:40:17 UTC