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
To: www-xml-schema-comments@w3.org
Message-Id: <E1Jsj8w-000572-Hh@farnsworth.w3.org>


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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:50:08 UTC