W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > October to December 2007

[Bug 5293] Subsumption

From: <bugzilla@wiggum.w3.org>
Date: Thu, 29 Nov 2007 10:28:20 +0000
CC:
To: www-xml-schema-comments@w3.org
Message-Id: <E1Ixgd2-0004RP-Dn@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5293





------- Comment #5 from mike@saxonica.com  2007-11-29 10:28 -------
>I suppose it is too late to insist that the structure of the derived type should mirror the structure of the base type. 

That gets back to the 1.0 approach which disallows many perfectly reasonable
restrictions.

In many ways, starting from scratch, I would prefer a syntax for restriction
where you define the differences rather than defining the new type and
requiring the system to check consistency. That would be far easier from a
maintenance viewpoint, because a change to the base type would then be
automatically inherited by its subtypes. We do this for attributes
(use="prohibited"), we do it for facet-based restriction, we do it for
assertions; it's a shame we can't do it with content models. But that's opening
up the discussion too far for comfort.
Received on Thursday, 29 November 2007 10:28:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:13:12 GMT