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

[Bug 2337] Add {context} property to simple type definition in Datatypes

From: <bugzilla@wiggum.w3.org>
Date: Mon, 12 Dec 2005 20:14:57 +0000
To: www-xml-schema-comments@w3.org
Cc:
Message-Id: <E1Elu4X-0004TQ-7m@wiggum.w3.org>

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





------- Additional Comments From cmsmcq@w3.org  2005-12-12 20:14 -------
There appears to me to be an error in the text approved by the WG at
its meeting of 21 October.  The proposal acted on there reads in part

    The {context} property is only relevant for anonymous type
    definitions, for which its value is the component in which this
    type definition appears as the value of a property, e.g. {item
    type definition} or {base type definition}.

But there are some anonymous type definitions which will not have a
{context} property, namely definitions shadowed by a redefinition.
Such definitions have no name, and thus would seem to qualify as
anonymous, but we agreed in Edinburgh that they would not acquire a
context property, indeed that no global / top-level components would
have a context property.

I believe the paragraph would be correct if it read

    The {context} property is only relevant for type definitions local
    to some other definition or declaration, for which its value is
    the component in which this type definition appears as the value
    of a property, e.g. {item type definition} or {base type
    definition}.  

This has the disadvantage of being clunkier: we are punished for
our failure to define simple terminology for global vs. local
components.
(I would change the status of the issue to reopened, except that
it is already in that status, for reasons which don't seem to have
been recorded.)
Received on Monday, 12 December 2005 20:15:09 GMT

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