RE: ISSUE-14: xs:default handling by generated types

> This is a specific problem with xs:default and type
> generators/serializers that can potentially be merged with ISSUE-7
>(minOccurs="0" and nillable="true").  

> The xs:default attribute on an element declaration is a feature of XML
> Schema that is meant to be applied by a schema validation process.
> Default values are inserted into the post-schema-validated-Infoset
> (PSVI) *only* if the element is present in the input document with empty
> content (and without an xsi:nil="true" attribute).  

I wonder if <xs:attribute use="optional" fixed="default-value" 
relates to this issue

Paul

Received on Thursday, 4 May 2006 18:15:00 UTC