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

Hi,

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?

Thanks,

Jeni
---
Jeni Tennison
http://www.jenitennison.com/
Received on Monday, 27 January 2003 06:48:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:35 GMT