- From: Henry S. Thompson <ht@inf.ed.ac.uk>
- Date: Thu, 19 Feb 2004 14:06:03 +0000
- To: "David Orchard" <dorchard@bea.com>
- Cc: <w3c-xml-schema-ig@w3.org>, <www-ws-desc@w3.org>
The WG will I'm sure reply to you 'officially' as soon as possible, but I'd like to say on my own that this is very much the kind of use case we're concerned to support, that XML Schema 1.1 is very likely to include means to support it easily, and that I would hope 'weak' or 'second-class' wildcards would be a part of those means. To ensure we're on the same page, please see below slight revisions (indicated by change bars) of your example -- please let me know if this involves any changes you're not happy with. <xs:complexType name="nameType"> <xs:sequence> <xs:element name="first" type="xs:string" /> <xs:element name="last" type="xs:string" minOccurs="0"/> | <xs:any namespace="##any" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> </xs:complexType> <xs:complexType name="nameType"> | <xs:complexContent> | <xs:restriction base="v1:nameType"> <xs:sequence> <xs:element name="first" type="xs:string" /> <xs:element name="last" type="xs:string" minOccurs="0"/> <xs:element name="middle" type="xs:string" minOccurs="0"/> | <xs:any namespace="##any" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> | </xs:restriction> | </xs:complexContent> </xs:complexType> <xs:complexType name="nameType"> | <xs:complexContent> | <xs:restriction base="v2:nameType"> <xs:sequence> <xs:element name="first" type="xs:string" /> <xs:element name="last" type="xs:string" minOccurs="0"/> <xs:element name="middle" type="xs:string" minOccurs="0"/> <xs:element name="suffix" type="xs:string" minOccurs="0"/> | <xs:any namespace="##any" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> | </xs:restriction> | </xs:complexContent> </xs:complexType> ht -- Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh Half-time member of W3C Team 2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440 Fax: (44) 131 650-4587, e-mail: ht@inf.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 Thursday, 19 February 2004 09:08:09 UTC