<?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>5141</bug_id>
          
          <creation_ts>2007-10-08 15:52:19 +0000</creation_ts>
          <short_desc>small editorial changes section 3.4-3.6</short_desc>
          <delta_ts>2008-03-20 13:48:30 +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.1 only</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>editorial cluster</status_whiteboard>
          <keywords>resolved</keywords>
          <priority>P4</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="John Arwe">johnarwe</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>17060</commentid>
    <comment_count>0</comment_count>
    <who name="John Arwe">johnarwe</who>
    <bug_when>2007-10-08 15:52:19 +0000</bug_when>
    <thetext>3.4.2 XML Representation of Complex Type Definitions, Complex Type Definition with complex content Schema Component, item 3.1.1
- looks like the property list should be indented further
- lonely period before 3.1.2

3.4.2 XML Representation of Complex Type Definitions, ex 4 after tableau
&quot;A further illustration of the abbreviated form, &quot;
not clear to me what &quot;further&quot; is referring back to.  looks unrelated to previous.

3.4.3 Constraints on XML Representations of Complex Type Definitions
remove &quot;only&quot; from front of 2.1.2, 2.1.3

3.4.6, Schema Component Constraint: Type Derivation OK (Complex), note 2
&quot;Note: The wording of clause 2.1 above appeals&quot;
unusual space after &quot;Note:&quot; makes reader unsure of scope of non-norm commentary

3.4.6, Schema Component Constraint: Type Derivation OK (Complex), note 2
from: &quot;when the two types definitions in question&quot;
to:   &quot;when the two type  definitions in question&quot;

3.6.1 The Attribute Group Definition Schema Component
from: &quot;{attribute uses} is a set    attribute uses, allowing for&quot;
to:   &quot;{attribute uses} is a set of attribute uses, allowing for&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17082</commentid>
    <comment_count>1</comment_count>
    <who name="John Arwe">johnarwe</who>
    <bug_when>2007-10-08 20:56:47 +0000</bug_when>
    <thetext>3.8.1 bullet 2 
from: &quot;(choice) corresponded to exactly&quot;
to:   &quot;(choice) correspond   to exactly&quot;
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18729</commentid>
    <comment_count>2</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2008-02-04 16:17:25 +0000</bug_when>
    <thetext>In an effort to make better use of Bugzilla, we are going to use the
&apos;severity&apos; field to classify issues by perceived difficulty.  This 
bug is getting severity=minor to reflect the existing whiteboard note
&apos;easy&apos;. </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19375</commentid>
    <comment_count>3</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2008-03-08 01:02:10 +0000</bug_when>
    <thetext>A wording proposal intended to resolve this issue was sent to the XML Schema
WG on 7 March 2008.
http://www.w3.org/XML/Group/2004/06/xmlschema-1/structures.omni-200803b.html
(member-only link).  It makes most, but not all, of the changes suggested;
the status section lists the changes not made and gives some indication why 
not. Those interested in this issue are encouraged to review the proposal
and to comment on it if they wish.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19512</commentid>
    <comment_count>4</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2008-03-17 20:49:38 +0000</bug_when>
    <thetext>At its telcon on 2008-03-14, the XML Schema WG adopted the wording proposal at http://www.w3.org/XML/Group/2004/06/xmlschema-1/structures.omni-200803b.html (member-only link), and believes this issue now to be resolved.  

John, please let us know if you agree with this resolution of your issue, by adding a comment to the issue record and changing the Status of the issue to Closed. Or, if you do not agree with this resolution, please add a comment explaining why. If you wish to appeal the WG&apos;s decision to the Director, then also change the Status of the record to Reopened. If you wish to record your dissent, but do not wish to appeal the decision to the Director, then change the Status of the record to Closed. If we do not hear from you in the next two weeks, we will assume you agree with the WG decision.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19540</commentid>
    <comment_count>5</comment_count>
    <who name="John Arwe">johnarwe</who>
    <bug_when>2008-03-19 18:50:06 +0000</bug_when>
    <thetext>I note that you skipped one change, in case that was unintentional, namely: 
3.4.3 Constraints on XML Representations of Complex Type Definitions
remove &quot;only&quot; from front of 2.1.2, 2.1.3

I can live with it either way; for me, removing the &quot;only&quot; makes it more readable. &quot;if&quot; alone would be clearer, &quot;if and only if&quot; alone would be clearer, the coder in me is less clear on which of those is intended by &quot;only if...&quot;, however in this context it does not appear to matter.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19548</commentid>
    <comment_count>6</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2008-03-19 21:22:29 +0000</bug_when>
    <thetext>For the record:  the retention of &quot;only&quot; in 3.4.3 is indeed intentional;
as the notes in the wording proposal (in the Status section) say, &quot;only if&quot;
is correct here.  The editors (and I presume the WG) are taking &quot;only if&quot;
as the converse of &quot;if&quot;:  p only if q == if p then q.  The relation is not
&quot;if and only if&quot;, and not &quot;if&quot;, but the former minus the latter.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19569</commentid>
    <comment_count>7</comment_count>
    <who name="John Arwe">johnarwe</who>
    <bug_when>2008-03-20 13:48:30 +0000</bug_when>
    <thetext>If typos in the temporary status section matter, you&apos;ll want to change
from: In 3.4.3 the suggestion to drop &quot;only&quot; has not been acdopted.
to:   In 3.4.3 the suggestion to drop &quot;only&quot; has not been adopted.

wrt minding our p&apos;s and q&apos;s: que?  former minus latter?

http://www.math.hawaii.edu/~ramsey/Logic/Iff.html
http://www.math.hawaii.edu/~ramsey/Logic/IfThen.html
P 	Q 	If P, then Q (L)    P if and only if Q (F&apos;)  F&apos;-L  L-F&apos;
T 	T 	T                   T                        F     F
T 	F 	F                   F                        F     F
F 	T 	T                   F                        F     T
F 	F 	T                   T                        F     F

Using F&apos;(ormer)=iff, L(atter)=ifthen from comment #6, when is F-L ever true?  Or did I misinterpret your &quot;minus&quot; relation&apos;s meaning?  I took it to mean: F&apos;-L is true whenever F&apos; is true and L is false.

That&apos;s the abstract part of the problem.

The concrete part can be shown by example:

3.4.3 Constraints on XML Representations of Complex Type Definitions
Schema Representation Constraint: Complex Type Definition Representation OK
In addition to the conditions imposed on &lt;complexType&gt; element information items by the schema for schema documents, all of the following also apply:
1 If the &lt;complexContent&gt; alternative is chosen, the type definition ·resolved· to by the ·actual value· of the base [attribute] must be a complex type definition whose {content type} does not have {variety} simple;
2 If the &lt;simpleContent&gt; alternative is chosen, all of the following must be true:
2.1 The type definition ·resolved· to by the ·actual value· of the base [attribute] is one of the following:
2.1.1 a complex type definition whose {content type} has {variety} simple;
2.1.2 only if the &lt;restriction&gt; alternative is also chosen, a complex type definition whose {content type} has {variety} mixed and {particle} a Particle which is ·emptiable·, as defined in Particle Emptiable (§3.9.6.3);
2.1.3 only if the &lt;extension&gt; alternative is also chosen, a simple type definition.
2.2 If clause 2.1.2 above is satisfied, then there is a &lt;simpleType&gt; among the [children] of &lt;restriction&gt;.
2.3 The ·actual value· of the mixed [attribute] is false.

Using 2.1.3 (the shorter one), and comment #6, what exactly is the P in your p only if q formulation?
I parse it as: only if P, Q
that is, P=&quot;the &lt;extension&gt; alternative is also chosen&quot; Q=&quot;a simple type definition&quot;

If I apply F&apos;-L to this, it&apos;s never true (and then why is it in the spec).
If I assume you swapped former and latter in comment 6, and got the minus relation correct, then L-F&apos; is true when P is false and Q is true, i.e. 2.1.3 is true when &quot;the &lt;extension&gt; alternative is NOT also chosen&quot; AND &quot;a simple type definition&quot;.  That is a truly bizarre construction.

fwiw, I think 2.1.3 is trying to say: if the CTD being evaluated is an extension, then  (2.1) The type definition ·resolved· to by the ·actual value· of the base [attribute] is a simple type definition.  That sounds an awful lot like an if-then to me.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>