<?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>5428</bug_id>
          
          <creation_ts>2008-01-25 23:15:56 +0000</creation_ts>
          <short_desc>unclear passages</short_desc>
          <delta_ts>2008-02-01 08:11:17 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>SML</product>
          <component>Core</component>
          <version>LC</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></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>LC</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="John Arwe">johnarwe</reporter>
          <assigned_to name="Kumar Pandit">kumarp</assigned_to>
          
          
          <qa_contact name="SML Working Group discussion list">public-sml</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>18587</commentid>
    <comment_count>0</comment_count>
    <who name="John Arwe">johnarwe</who>
    <bug_when>2008-01-25 23:15:56 +0000</bug_when>
    <thetext>(1) 4.4.1 sml:acyclic
&quot;This attribute is of type xs:boolean and its actual value can be either true or false.&quot;
&apos;actual value&apos; is a precisely defined XML Schema term in this context, but there is no hint to a reader that anything other than the colloquial meaning should be applied.  It is defined in http://www.w3.org/TR/2004/REC-xmlschema-1-20041028/#key-vv and should be cited.
It is in fact the use of this term that allows the SML spec to ignore the other 
lexically valid values that instances of the xs:boolean type can take on (&quot;1&quot;,&quot;0&quot;) and not repeat the clauses used for sml:ref and sml:nilref involving collapsing of whitespace.

(2) 4.4.1.1 Mapping from Schema
from:     {acyclic}                of a complex type 
to  : The {acyclic} property value of a complex type 

(3) 4.5 Identity Constraints
from: XML Schema supports the definition of key, unique,    and key reference constraints
to  : XML Schema supports the definition of      uniqueness and     reference 
constraints
(this harmonizes them with XML Schema&apos;s actual terms, see http://www.w3.org/TR/2004/REC-xmlschema-1-20041028/#cIdentity-constraint_Definitions )

(4) 4.5.1.1 Mapping from Schema, last paragraph
from: complex type D, who  is a restriction
to  : complex type D, that is a restriction

(5) 4.5.1.1 Mapping from Schema, last paragraph
then {SML identity-constraints definitions} of ED also contains members of {SML identity-constraints definitions} of EB.
This leaves open the question of &quot;which members?  all?  any?&quot; etc.  This question is answered in 4.5.1.2 step 6, probably should link to it for clarity.

(6) 4.5.1.2 Schema Validity Rules, item 1
from: XML        identity constraint 
to  : XML Schema identity constraint 
(2 places at least)

(7) 4.5.1.2 Schema Validity Rules, item 2
Inconsistent to say &quot;{selector}&quot; in item 1, and &quot;The sml:field XPath expression&quot; in item 2.  Looking at http://www.w3.org/TR/2004/REC-xmlschema-1-20041028/#declare-key , {fields} would be the appropriate value if we go with the style of item 1.  The &quot;expression&quot; in item 2, regardless of its form, does need to be plural (multiple fields allowed per selector, if SML identity constraints are truly patterned after XSDL&apos;s).

(8) 4.5.1.2 Schema Validity Rules, item 2
&quot;The sml:field XPath expression MUST conform to the amended BNF defined above for the selector XPath expression with the following modification,to allow smlfn:deref() functions, nested to any depth, at the beginning of the expression.&quot;  Tilt.  What I _think_ this is trying to say: xs:field&apos;s BNF needs the same modification that xs:selector needed (item 1), for the same reason, and wishes to re-use the DerefExpr production.  FWIW, item 1&apos;s words were clear enough to me.  I would just repeat them, and append words to say the production is the same.  As item 1 has, item 2 (desperately) needs to connect its text to the BNF that follows...all the more so because item 2 refers back to item 1&apos;s BNF.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18669</commentid>
    <comment_count>1</comment_count>
    <who name="Valentina Popescu">popescu</who>
    <bug_when>2008-01-31 20:50:48 +0000</bug_when>
    <thetext>reviewed in 01/31 meeting; resolution to mark editorial 
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18682</commentid>
    <comment_count>2</comment_count>
    <who name="Kumar Pandit">kumarp</who>
    <bug_when>2008-02-01 08:11:17 +0000</bug_when>
    <thetext>All changes applied as suggested except the following:

[7]
I got rid of {selector} and used sml:selector instead.

[8]
I reworded the field part to make it similar to the selector part.

The changes are aligned with the original intent.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>