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

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 UTC