[Bug 2217] R-225: Question about fixed element value with simple type

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

           Summary: R-225: Question about fixed element value with simple
                    type
           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


It's not clear from the spec what to do in this case: Bullet 5.2.2.2 of [1] 
deals with default element value. 5.2.2.2.1 talks about complex type with mixed 
content, and 5.2.2.2.2 talks about complex type with simple type content. So 
there is no rule for elements with simple types. 

Perhaps 5.2.2.2.2 should be changed to say if the actual type is a simple type 
or if it's a complex type with simple type content? 

[1] http://www.w3.org/TR/xmlschema-1/#section-Element-Declaration-Validation-
Rules 

See:
http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JulSep/0013.html

Received on Wednesday, 14 September 2005 19:19:15 UTC