W3C home > Mailing lists > Public > xmlschema-dev@w3.org > February 2001

Re: [Moderator Action] Default for elements

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 19 Feb 2001 14:07:09 +0000
To: "Waterfeld, Dr., Walter" <Walter.Waterfeld@softwareag.com>
Cc: "'xmlschema-dev@w3.org'" <xmlschema-dev@w3.org>
Message-ID: <f5bpugeix6a.fsf@cogsci.ed.ac.uk>
"Waterfeld, Dr., Walter" <Walter.Waterfeld@softwareag.com> writes:

> opposite to DTD XML schema allows default for elements. The default for an
> element is specified in the
> meta schema as a string attribute.
> For me a strings seems to be no good representation for an arbitrary
> element. 
> I expected something like ANY to specify complete defaults for elements.

XML Schema only allows defaults for elements with simple types, so
strings cover all the allowed possibilities.

  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
          W3C Fellow 1999--2001, 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/
Received on Monday, 19 February 2001 09:07:12 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:51 UTC