- From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
- Date: 10 Jun 2000 12:38:37 +0100
- To: Rick JELLIFFE <ricko@geotempo.com>
- Cc: www-xml-schema-comments@w3.org
Rick JELLIFFE <ricko@geotempo.com> writes: > > From: Henry S. Thompson (ht@cogsci.ed.ac.uk) > > > That's fine, you don't need any new features then: use > > <any processContents='strict' minOccurs='0' maxOccurs='unbounded'/> > > and xsi:type in the instances and you'll have (nearly) everything you > > want. > > Just for general clarification, is it possible to have an attribute > (xsi:type or something derived from it somehow) which allows type > selection from an attribute, but constrained to certain choices? Not as currently spec'ed. You are specifically forbidden from declaring the 'type' attribute in the 'http://www.w3.org/1999/XMLSchema-instance' namespace in any schema, and deriving something from it or its type would not be recognised as having any special meaning. ht -- Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh W3C Fellow 1999--2001, part-time member of W3C Team 2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440 Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk URL: http://www.ltg.ed.ac.uk/~ht/
Received on Saturday, 10 June 2000 07:38:40 UTC