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...

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

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:15:33 UTC