Re: XML Schema quiz on default values

On Aug 24, 2012, at 6:33 AM, Daniel Dui wrote:

> Roger et al., thanks for the clarification.
> 
> I have used XML Schema for a long time and this is definitely a dark corner of the specs.
> 
> I always warn people about using default values and often recommend not using them. This non-obvious defaulting behavior looks to me like another reason why many schemas should avoid using default values.

I'm puzzled.  The behavior "Empty element gets the default" 
seems straightforward enough to me.

Can you clarify in what way you find the behavior non-obvious?

-- 
****************************************************************
* C. M. Sperberg-McQueen, Black Mesa Technologies LLC
* http://www.blackmesatech.com 
* http://cmsmcq.com/mib                 
* http://balisage.net
****************************************************************

Received on Friday, 24 August 2012 15:57:16 UTC