- From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
- Date: 24 Apr 2002 11:41:56 +0100
- To: "Aung Aung" <aaung@microsoft.com>
- Cc: <xmlschema-dev@w3.org>, <www-xml-schema-comments@w3.org>
"Aung Aung" <aaung@microsoft.com> writes: > Thanks Henry. We are now all waiting for the Errata. The following 2 > issues is for clarification and commonality, please comment for any > error. > First thing ~~~~~~~~~~~~~ > You have memtioned that renaming of anySimpleType or anyType is. Will > there be an errata for this? Below is a mail from you from 11/01. The WG haven't gotten to this one yet. What follows is only my personal opinion. > >> 1. > >> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" > > >> <xs:simpleType name="ct1"> > >> <xs:restriction base="xs:anyType" /> > >> </xs:simpleType> > >> </xs:schema> > > >Yes, invalid. No erratum required, user-deriving a simple from a complex is already disallowed. > >> 2. > >> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" > > >> <xs:simpleType name="ct2"> > >> <xs:restriction base="xs:anySimpleType" /> > >> </xs:simpleType> > >> </xs:schema> > > >Yes, invalid. Needs an erratum, one way or another. > >> 3. > >> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" > > >> <xs:complexType name="ct4"> > >> <xs:simpleContent> > >> <xs:restriction base="xs:anySimpleType" /> > >> </xs:simpleContent> > >> </xs:complexType> > >> </xs:schema> > > >Yes, invalid. Needs an erratum, one way or another. > >But you raise an interesting point -- the above don't actually attempt > >a restriction, just a private renaming. There's no reason we shouldn't > >allow this. The third case in particular, if it contained attributes, > is >something people might reasonably wish to do. > > >I'll raise a potential erratum on this. > >Ht > > In short, I think we will need the following 2 points in errata. > (1) allow renaming of anyType or AST > (2) Restriction with facets on anySimpleType is not allowed unless the > restriction is build-in dataTypes (to satisfy SfS). -- Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh W3C Fellow 1999--2002, 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/ [mail really from me _always_ has this .sig -- mail without it is forged spam]
Received on Wednesday, 24 April 2002 06:42:00 UTC