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

[Bug 2002] R-024: Derivation by Restriction: pointless occurrences

From: <bugzilla@wiggum.w3.org>
Date: Wed, 07 Sep 2005 19:47:49 +0000
To: www-xml-schema-comments@w3.org
Message-Id: <E1ED5td-0003TL-ND@wiggum.w3.org>


           Summary: R-024: Derivation by Restriction: pointless occurrences
           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: sandygao@ca.ibm.com
         QAContact: www-xml-schema-comments@w3.org

The constraints for "Particle Valid (Restriction)" indicate that pointless 
occurrences of sequence, all and choice should be ignored. By doing so, it is 
possible that certain derived types which would otherwise be valid restrictions 
of their base types, become invalid.

See the following for more information, and an example: 

Note that Achille Fokoue posted another example illustrating this problem. See 
the following for more information:

Note also that a subsequent email on pointlessness was sent in by Gareth 
Received on Wednesday, 7 September 2005 19:47:51 UTC

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