W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > January to March 2002

XML Schema Part 0 erronous example

From: Khaled Hassounah <khassounah@sprockets.com>
Date: Mon, 25 Feb 2002 18:24:55 -0500
To: <www-xml-schema-comments@w3.org>
Message-ID: <GNENJHOCCJLPEALGOBALEEODCDAA.khassounah@sprockets.com>
In table 1, the 6th row (elements (0, 1)-, 37 and attributes optional,-,37):

The note is not correct, as it says that for both, attributes and elements,
this case means that the defualt value is used if it doesn't appear. This is
wrong, because for a default value to be used for an element, the element
should appear, but be empty. The note of the second row is correct though,
although the only difference is the maxOccurs attribute between both cases
for elements.

This could be confusing for a newbie...

Received on Monday, 25 February 2002 20:29:12 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:08:57 UTC