- From: Priscilla Walmsley <priscilla@walmsley.com>
- Date: Tue, 6 Jan 2004 09:59:50 -0500
- To: "'Henry S. Thompson'" <ht@cogsci.ed.ac.uk>, "'Venkateswar Wunnava'" <wvsvenkat@hotmail.com>
- Cc: <xmlschema-dev@w3.org>, <www-xml-schema-comments@w3.org>
There is already an errata on this, it is E0-29 [1]. It will be fixed in the second edition. Priscilla [1] http://www.w3.org/2001/05/xmlschema-errata#e0-29 > -----Original Message----- > From: www-xml-schema-comments-request@w3.org > [mailto:www-xml-schema-comments-request@w3.org] On Behalf Of > Henry S. Thompson > Sent: Tuesday, January 06, 2004 9:42 AM > To: Venkateswar Wunnava > Cc: xmlschema-dev@w3.org; www-xml-schema-comments@w3.org > Subject: Re: Default value for Element Vs Attribute > > > "Venkateswar Wunnava" <wvsvenkat@hotmail.com> writes: > > > XML Schema Part 0: Primer has two contradicting statements: > > > > 2.2.1 Occurrence Constraints > > > > quote: "In summary, the differences between element and attribute > > defaults can be stated as: Default attribute values apply when > > attributes are missing, and default element values apply when > > elements are empty. " > > > > quote: Element{ (minOccur=0, maxOccur= 1) fixed = -, default 37} > > Attribute{ use = optional, fixed = -, default = 37 } Notes: > > element/attribute may appear once; if it does not appear its value > > is 37, otherwise its value is that given > > > > Which one is correct for the elements? I believe the first statement > > is true for elements, but the statement in the table is wrong. > > I think you're right -- we should fix this. > > 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 Tuesday, 6 January 2004 10:03:44 UTC