W3C home > Mailing lists > Public > public-xsd-databinding@w3.org > May 2006

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

From: <paul.downey@bt.com>
Date: Thu, 4 May 2006 19:12:56 +0100
Message-ID: <2A7793353757DB4392DF4DFBBC95225504BFE969@I2KM11-UKBR.domain1.systemhost.net>
To: <public-xsd-databinding@w3.org>, <public-xsd-databinding@w3.org>

> 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

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:42:56 UTC