<?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>5398</bug_id>
          
          <creation_ts>2008-01-22 12:50:57 +0000</creation_ts>
          <short_desc>SMLIF 5.2 clarifications</short_desc>
          <delta_ts>2008-02-14 19:35:48 +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>Interchange Format</component>
          <version>unspecified</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>resolved</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>18453</commentid>
    <comment_count>0</comment_count>
    <who name="John Arwe">johnarwe</who>
    <bug_when>2008-01-22 12:50:57 +0000</bug_when>
    <thetext>5.2 SML-IF Documents
&quot;An SML-IF document MUST conform to XML [XML] specification.&quot; is awkward.  We might be better off using something like the SML definition for document in its place, i.e. &quot;An SML-IF document MUST be a well-formed XML document, as defined in [XML].&quot;

5.2.1 Embedded Documents - last sentence
currently says &quot;If model/*/document/data contains no child element or model/*/document/base64Data has empty content then the SML-IF consumer MUST treat the document as if it is not part of the interchange set.&quot;
Different phrases (&quot;no child element&quot;, &quot;empty content&quot; respectively) are used for data and base64data to describe what I expected to be the same condition.  If they are the same condition, it would be clearer to use identical words to describe it.  If they are different descriptions, this text does not tell me as a reader what those differences are in a precise way that I understand.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18656</commentid>
    <comment_count>1</comment_count>
    <who name="Valentina Popescu">popescu</who>
    <bug_when>2008-01-31 19:43:36 +0000</bug_when>
    <thetext>based on 01/31 meeting, marked editorial with a needsReview when complete

&lt;Sandy&gt; instruct editors to draft wording to use phrases like &quot;if no document is present&quot; for both &quot;data&quot; and &quot;base64data&quot;; failing that, fall back to use different conditions: no child element for &quot;data&quot; and 0-length base64 for &quot;base64data&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18657</commentid>
    <comment_count>2</comment_count>
    <who name="Valentina Popescu">popescu</who>
    <bug_when>2008-01-31 19:45:22 +0000</bug_when>
    <thetext>MSM comments in IRC

&lt;MSM&gt; [A concrete sketch:  something like:
&lt;MSM&gt; If the &lt;data&gt; element has no child element, it is said to contain a
&lt;MSM&gt; &apos;vacuous document&apos;.  If the &lt;base64Data&gt; has a zero-length sequence of
&lt;MSM&gt; octets as its value, it similarly contains a &apos;vacuous document&apos;
&lt;MSM&gt; If the model/*/document element contains only a vacuous document, then
&lt;MSM&gt; the SML-IF consumer MUST treat the document as if it is not part of
&lt;MSM&gt; the interchange set.
&lt;MSM&gt; ]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18693</commentid>
    <comment_count>3</comment_count>
    <who name="Kumar Pandit">kumarp</who>
    <bug_when>2008-02-03 09:14:05 +0000</bug_when>
    <thetext>[1]
New text:

An SML-IF document MUST be a well-formed XML document [XML].

[2]
I tried coming up with wording based on Sandy&apos;s suggestion in comment# 1, but a sentence such as &quot;If no document is present, that document must be treated as...&quot; does not feel right. MSM&apos;s suggestion in comment# 2 seems cleaner.

New text is copied below:

If the model/*/document/data element has no child element, it is said to contain a vacuous document. If the model/*/document/base64Data element has a zero-length sequence of octets as its value, it similarly contains a vacuous document. If the model/*/document/* element contains only a vacuous document, then an SML-IF consumer MUST treat the document as if it is not part of the interchange set. 
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18982</commentid>
    <comment_count>4</comment_count>
    <who name="John Arwe">johnarwe</who>
    <bug_when>2008-02-12 23:55:56 +0000</bug_when>
    <thetext>[1] looks fine.

[2]
&gt; If the model/*/document/* element contains only a vacuous document
gets us into trouble with spec lawyers I think.  E.g. if the document element has aliases but its data child matches the vacuous document definition, does it &quot;contain only a v.d.&quot; or not?  The logicians would say &apos;not&apos;.

To some degree this is a problem of our own making, as we have tended to treat syntax and the concept expressed by the syntax as the same thing in many places, so a change to one hits us more widely than if the two were independent.  Many of our more recent changes appear to be in the direction of separating the two and linking them in exactly one spot (vacuous documents being an excellent example).

Since I&apos;d like to get something &quot;close enough&quot; for LC, here is the simplest fix I can come up with... imperfect but likely c.e.
from: If the model/*/document/* element contains only a vacuous document
to:   If the model definition or instance document is a vacuous document
That leaves the definition of v.d. still tied to syntax, but it should be enough to fend off the spec lawyers.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18994</commentid>
    <comment_count>5</comment_count>
    <who name="Kumar Pandit">kumarp</who>
    <bug_when>2008-02-13 07:42:05 +0000</bug_when>
    <thetext>Changed the text as suggested in comment# 4.

from:
If the model/*/document/* element contains only a vacuous document, then ...

to:
If a model definition document or an instance document is a vacuous document, then ...

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19057</commentid>
    <comment_count>6</comment_count>
    <who name="Virginia Smith">virginia.smith</who>
    <bug_when>2008-02-14 19:35:48 +0000</bug_when>
    <thetext>WG agrees with basic structure of edits. Discussion occurred about using term &quot;vacuous&quot; - another bug will be opened to track this discussion.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>