- From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
- Date: 26 Mar 2003 12:44:10 +0000
- To: "Simon Cox" <Simon.Cox@csiro.au>
- Cc: "Hugh Wallis" <hugh_wallis@hyperion.com>, <xmlschema-dev@w3.org>
"Simon Cox" <Simon.Cox@csiro.au> writes: > I often wondered about this. > When to use "token", and when "Name"? > What is the intended difference? 'token' differs from 'string' only in whitespace processing -- string does none, token does the maximum. 'Name' differs from 'token' in that it restricts the contents to be an XML Name, starting with a namestart character and containing only name characters. So "$%%*!" is a token, but not a Name. 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@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, 26 March 2003 07:44:20 UTC