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

PSVI elements and attributes with default values

From: Jeni Tennison <jeni@jenitennison.com>
Date: Mon, 27 Jan 2003 11:47:46 +0000
Message-ID: <58528807104.20030127114746@jenitennison.com>
To: xmlschema-dev@w3.org


Can someone check whether I'm interpreting the XML Schema spec
correctly when it comes to default values?

From what I can tell, when an element is empty but its declaration
specifies a default or fixed value, that value is given as its [schema
normalized value] and it has a [schema specified] of the default
value. However, no character information items are added to the
[children] of the element information item -- so it's still empty from
that point of view. Is that correct?

When an defaulted attribute is added, it looks as though the PSVI does
not specify the values of the infoset properties [prefix], [normalized
value], [specified], [attribute type] or [references]. Is the
[normalized value] supposed to be an empty string or the same as the
[schema normalized value]? Is [specified] supposed to be false?


Jeni Tennison
Received on Monday, 27 January 2003 06:48:00 UTC

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