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 1930 - R-183: Question about default values
Summary: R-183: Question about default values
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: XML Schema WG
QA Contact: XML Schema comments list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-01 16:10 UTC by Sandy Gao
Modified: 2009-04-21 19:24 UTC (History)
0 users

See Also:


Attachments

Description Sandy Gao 2005-09-01 16:10:44 UTC
It's not clear from the spec what to do in this case. Bullet 5.2.2.2 of 
constraint [1] deals with default element values. 5.2.2.2.1 talks about complex 
types with mixed content, and 5.2.2.2.2 talks about complex types with simple 
type content. So there is no rule for elements with simple types.

Maybe 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/#cvc-elt

See the first issue raised in :
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Nov/0234.html 

Also see a response:
http://lists.w3.org/Archives/Public/www-xml-schema-
comments/2002OctDec/0056.html
Comment 1 Sandy Gao 2005-09-23 02:52:06 UTC

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