W3C home > Mailing lists > Public > xmlschema-dev@w3.org > October 2006

Re: Default and Fixed Attribute declarations

From: Boris Kolpackov <boris@codesynthesis.com>
Date: Wed, 4 Oct 2006 09:41:03 +0200
To: Jeff Rafter <lists@jeffrafter.com>
Cc: xmlschema-dev@w3c.org
Message-ID: <20061004074103.GB303@karelia>
Hi Jeff,

Jeff Rafter <lists@jeffrafter.com> writes:


> I think that my confusion probably started by comparing the fixed and
> default functionality of attributes and elements (e.g. in 5.1 the
> presence of an element is allowable as long as it is empty).

You may be interested in the following table then:

http://www.codesynthesis.com/projects/xsd/documentation/cxx/tree/manual/#A

It summarizes the differences between default/fixed values for elements
and attributes.

hth,
-boris

Received on Wednesday, 4 October 2006 07:46:35 GMT

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