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
Cc:
Message-Id: <E1ED5td-0003TL-ND@wiggum.w3.org>

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

           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: 
http://lists.w3.org/Archives/Public/www-xml-schema-
comments/2001AprJun/0230.html 

Note that Achille Fokoue posted another example illustrating this problem. See 
the following for more information:
http://lists.w3.org/Archives/Public/www-xml-schema-
comments/2001JulSep/0111.html 

Note also that a subsequent email on pointlessness was sent in by Gareth 
Sylvester-Bradley:
http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JulSep/0040.html
Received on Wednesday, 7 September 2005 19:47:51 GMT

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