PSVI elements and attributes with default values

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 UTC