W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > April to June 2008

[Bug 5674] substitution groups for attributes

From: <bugzilla@farnsworth.w3.org>
Date: Sun, 04 May 2008 18:41:02 +0000
CC:
To: www-xml-schema-comments@w3.org
Message-Id: <E1Jsj8w-000572-Hh@farnsworth.w3.org>

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





------- Comment #1 from cmsmcq@w3.org  2008-05-04 18:41 -------
Speaking for myself, I think (a) yes, this facility would be useful,
both for internationalization (or rather: localization!) and for other 
forms of specialization, and (b) it would achieve greater symmetry
than we now have between elements and attributes.

The usefulness is limited a bit, I think, by the effective restriction
to top-level attributes.  To make it really possible to localize an
arbitrary schema, it would be useful to be able to substitute for
local attributes (and local elements) as well.  But this at least makes
it *possible* to write a vocabulary suitable for this form of localization
without having to avoid attributes altogether.

Myself, I would like to see a more general solution to the problem of
architectural forms -- but in the meantime, this is a modest change which
leads to a more than modest improvement in the situation.
Received on Sunday, 4 May 2008 18:41:34 GMT

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