- From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
- Date: Tue, 06 Jan 2004 14:41:52 +0000
- To: "Venkateswar Wunnava" <wvsvenkat@hotmail.com>
- Cc: xmlschema-dev@w3.org, www-xml-schema-comments@w3.org
"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 09:41:53 UTC