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

[Bug 2311] Point out the cases where attribute prohibitions are pointless

From: <bugzilla@wiggum.w3.org>
Date: Wed, 28 Sep 2005 12:45:04 +0000
To: www-xml-schema-comments@w3.org
Cc:
Message-Id: <E1EKbJ2-0002D1-U9@wiggum.w3.org>

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

           Summary: Point out the cases where attribute prohibitions are
                    pointless
           Product: XML Schema
           Version: 1.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSD Part 1: Structures
        AssignedTo: ht@w3.org
        ReportedBy: K.Buchcik@4commerce.de
         QAContact: www-xml-schema-comments@w3.org


AFAIK attribute prohibitions (use="prohibited") are only significant
when restricting a type; i.e. when they appear as children of <restriction>
and <complexType>.

Any other occurrences of such prohibitions should be pointless,
but there's no consensus between various schema processors.

An explicit statement about where prohibitions are pointless could
be of help here. Generating a warning when we hit such pointless
prohibitions would deminish confusion on the schema authors side.
Received on Wednesday, 28 September 2005 12:45:08 GMT

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