W3C home > Mailing lists > Public > xmlschema-dev@w3.org > November 2003

Re: how to create an xml

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: Mon, 17 Nov 2003 01:49:09 +0000
To: "Jack Lindsey" <tuquenukem@hotmail.com>
Cc: david.bau@bea.com, naren.chawla@oracle.com, Ismael.Cams@siemens.com, xmlschema-dev@w3.org, xmljava2003@yahoo.com
Message-ID: <f5bsmknu5m2.fsf@erasmus.inf.ed.ac.uk>

'id' attributes in schema documents must be valid IDs per XML 1.0,
which does indeed mean that numbers are not allowed.  I recommend
prefixing your ID values with a letter -- if that's not acceptable,
move them to your own namespace and call them something else,
e.g. 'my:docid' -- since annotation with non-schema-namespace
attributes is always allowed, this will not cause an error.

  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 Sunday, 16 November 2003 20:49:21 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:03 UTC