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
Message-Id: <E1EKbJ2-0002D1-U9@wiggum.w3.org>


           Summary: Point out the cases where attribute prohibitions are
           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 UTC

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