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

[Bug 2001] R-023: Restrictions of attributes specifying "use"

From: <bugzilla@wiggum.w3.org>
Date: Wed, 07 Sep 2005 19:46:52 +0000
To: www-xml-schema-comments@w3.org
Cc:
Message-Id: <E1ED5si-0003Ro-SH@wiggum.w3.org>

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


sandygao@ca.ibm.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID
            Summary|R-23. pfiattrRestrict:      |R-023: Restrictions of
                   |Restrictions of attributes  |attributes specifying "use"
                   |specifying "use"            |




------- Additional Comments From sandygao@ca.ibm.com  2005-09-07 19:46 -------
This restriction is already disallowed by the Structures spec. In the base 
type, there is no component for the attribute because of the use="prohibited". 
Given this, clause 2.2 of Schema Component Constraint: Derivation Valid 
(Restriction, Complex) applies and causes this example to be invalid.

No erratum is required.
Received on Wednesday, 7 September 2005 19:47:06 GMT

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