This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 2217 - R-225: Question about fixed element value with simple type
Summary: R-225: Question about fixed element value with simple type
Status: CLOSED DUPLICATE of bug 1931
Alias: None
Product: XML Schema
Classification: Unclassified
Component: Structures: XSD Part 1 (show other bugs)
Version: 1.0 only
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Henry S. Thompson
QA Contact: XML Schema comments list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-14 19:19 UTC by Sandy Gao
Modified: 2009-04-21 19:25 UTC (History)
0 users

See Also:


Attachments

Description Sandy Gao 2005-09-14 19:19:00 UTC
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
Comment 1 Sandy Gao 2005-09-23 04:10:40 UTC
Again, this duplicates with bug 1931 (and 1930). Propose to close it and mark 
it as a duplicate.
Comment 2 Sandy Gao 2005-09-28 14:29:39 UTC

*** This bug has been marked as a duplicate of 1931 ***