<?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>2574</bug_id>
          
          <creation_ts>2005-12-09 20:36:43 +0000</creation_ts>
          <short_desc>Is anySimpleType allowed in unions? lists?</short_desc>
          <delta_ts>2005-12-15 13:43:08 +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>Datatypes: XSD Part 2</component>
          <version>1.0 only</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>ASSIGNED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>unclassified</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="C. M. Sperberg-McQueen">cmsmcq</reporter>
          <assigned_to name="C. M. Sperberg-McQueen">cmsmcq</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>7372</commentid>
    <comment_count>0</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2005-12-09 20:36:43 +0000</bug_when>
    <thetext>There is some uncertainty about whether XSD 1.0 allows or forbids
the use of anySimpleType as a member type in constructing a union
or as an item type when constructing a list.

It can be (and has been) argued that Structures section 3.4.16, 
validation rule Derivation Valid (Restriction, Simple) rules it 
out in clause 3.1, which requires that the member types of
a union must have {variety} = list or {variety} = union.

But it has also been argued that there is material in Datatypes which
suggests that anySimpleType is indeed legal as a member of a union.

We may need clarification in the text of 1.0, either way.  And
some WG members would like agreement on whether anySimpleType can
be a member of a union in 1.0, before deciding what the rules
should be in 1.1 and closing bug 2306.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>