<?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>2306</bug_id>
          
          <creation_ts>2005-09-26 15:28:39 +0000</creation_ts>
          <short_desc>Union of anySimpleType</short_desc>
          <delta_ts>2006-03-21 00:39:44 +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.1 only</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>resolved</keywords>
          <priority>P1</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Henry S. Thompson">ht</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>6456</commentid>
    <comment_count>0</comment_count>
    <who name="Henry S. Thompson">ht</who>
    <bug_when>2005-09-26 15:28:39 +0000</bug_when>
    <thetext>Does the spec. need clarification wrt the allowability of anySimpleType as a 
member of unions. Part 1 3.14.6 Simple Type Definition Properties Correct rules 
it out, but 2.5/6.1 of Datatypes might be read as allowing it, because it 
appears to imply that Atomic+List+Union exhausts the space of possibilities.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7373</commentid>
    <comment_count>1</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2005-12-09 20:45:42 +0000</bug_when>
    <thetext>The WG discussed this item on 9 December 2005 and agreed to treat
it as a requirement for 1.1 that we clarify whether anySimpleType
may or must not be used as a member of a union.

But 2574 raises the same question for version 1.0; it may be 
relevant to this issue because if 1.0 has a clear answer to
this question, some WG members will prefer not to change the
answer in 1.1.

There is a minor error in comment 1 -- it is clause 3.1 of 
Schema Component Constraint: Derivation Valid (Restriction, 
Simple), not Simple Type Definition Properties Correct, which
appears to rule out anySimpleType.

    3.1 The {member type definitions} must all have {variety} 
        of atomic or list.

(http://www.w3.org/TR/xmlschema-1/#cos-st-restricts)

This clause must change, however, in any case, since the
resolution of bug 2044 (retain union-level facets) requires 
that member types of variety union be allowed.  (See bug 2044 
comment 2, see also bug 2333, which is the Structures part of 
that issue.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8807</commentid>
    <comment_count>2</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2006-03-21 00:39:44 +0000</bug_when>
    <thetext>At the face to face meeting of January 2006 in St. Petersburg,
the Working Group discussed this issue.  While there was some
sentiment for giving it a high priority, in the end the Working
Group decided not to take further action on this issue in 
XML Schema 1.1.

The rationale for the Working Group&apos;s decision was simple: the
obscurity regarding anySimpleType appears not to be causing
serious difficulties in practice (our collection of a thousand
schema documents found &apos;in the wild&apos; has no instances of unions
which have anySimpleType as a member), and it was not felt useful
to delay Datatypes 1.1 while the Working Group discussed this
issue further.

Accordingly, I am marking this issue as RESOLVED / WONTFIX.
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>