- From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
- Date: 30 May 2002 08:30:16 +0100
- To: "Winchel 'Todd' Vincent III" <winchel@mindspring.com>
- Cc: "Biron,Paul V" <Paul.V.Biron@kp.org>, <xmlschema-dev@w3.org>
"Winchel 'Todd' Vincent III" <winchel@mindspring.com> writes:
> <snip/>
>
> > > However, since the <text/> pattern is allowed anywhere it does mean that
> > > you
> > > can decide where in the mixed content your character data should appear.
> > >
> > Yup, that's a useful capability...I'm hoping we can get that into XML
> Schema
> > v1.1 (or at least in v2).
>
> I'm not sure how related this is, but since you are mentioning wish lists .
> . . there are three things I would like to be able to do that I can't do (or
> don't know how to do) now (or not very well):
>
> 1. Wildcard for enumerations -- I would like to be able to specify a list of
> enumerations, but also specify a wildcard, so valid content would be any
> content that matches the base type. For example, "White", "Black", "Brown",
> "*" where base="xsd:string" and * let's me add any value I want.
This is already available -- define your enumeration, then a union of
that with xs:token.
ht
--
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 Thursday, 30 May 2002 03:36:01 UTC