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

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

From: <bugzilla@wiggum.w3.org>
Date: Wed, 14 Sep 2005 19:19:00 +0000
To: www-xml-schema-comments@w3.org
Cc:
Message-Id: <E1EFcma-00016g-DQ@wiggum.w3.org>

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 GMT

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