<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>1930</bug_id>
          
          <creation_ts>2005-09-01 16:10:44 +0000</creation_ts>
          <short_desc>R-183: Question about default values</short_desc>
          <delta_ts>2009-04-21 19:24:45 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XML Schema</product>
          <component>Structures: XSD Part 1</component>
          <version>1.0 only</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>1931</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sandy Gao">sandygao</reporter>
          <assigned_to name="XML Schema WG">w3c-xml-schema-wg</assigned_to>
          
          
          <qa_contact name="XML Schema comments list">www-xml-schema-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>5638</commentid>
    <comment_count>0</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2005-09-01 16:10:44 +0000</bug_when>
    <thetext>It&apos;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&apos;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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6417</commentid>
    <comment_count>1</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2005-09-23 02:52:06 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of 1931 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>