<?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>5247</bug_id>
          
          <creation_ts>2007-11-05 16:44:36 +0000</creation_ts>
          <short_desc>&lt;data&gt; without a sub-element</short_desc>
          <delta_ts>2007-12-13 19:38: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>Interchange Format</component>
          <version>FPWD</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>
          <dependson>5047</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sandy Gao">sandygao</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>17591</commentid>
    <comment_count>0</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2007-11-05 16:44:36 +0000</bug_when>
    <thetext>The current IF schema allows &lt;data&gt; to not have any child element. 2 questions:
- Should this be allowed (see discussion in bug 5047)
- If yes, what does it mean?

The IF spec needs to be clear about these 2 questions.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17665</commentid>
    <comment_count>1</comment_count>
    <who name="Pratul Dublish">pratul.dublish</who>
    <bug_when>2007-11-12 06:03:34 +0000</bug_when>
    <thetext>Comment #10 in 5047 has a scenario for &lt;data&gt; without a child element. &lt;data&gt; without a child element means that the document is missing from the SML IF. </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17755</commentid>
    <comment_count>2</comment_count>
    <who name="Virginia Smith">virginia.smith</who>
    <bug_when>2007-11-15 20:11:46 +0000</bug_when>
    <thetext>Resolution: Agreed to empty &lt;data&gt; element. Mark as editorial - Kumar to come back to group with proposed text.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17827</commentid>
    <comment_count>3</comment_count>
    <who name="Valentina Popescu">popescu</who>
    <bug_when>2007-11-21 18:14:41 +0000</bug_when>
    <thetext>Changes for this defect may be already covered under http://www.w3.org/Bugs/Public/show_bug.cgi?id=5272</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17832</commentid>
    <comment_count>4</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2007-11-22 15:08:35 +0000</bug_when>
    <thetext>What I had in mind to resolve this bug is to add to section 5.2.1 something similar to what&apos;s in 5.2.2:

If a &lt;data&gt; contains no child element, then the SML-IF consumer MUST treat the embedded document as if it is not part of the interchange set.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17842</commentid>
    <comment_count>5</comment_count>
    <who name="Kumar Pandit">kumarp</who>
    <bug_when>2007-11-26 08:13:37 +0000</bug_when>
    <thetext>I agree with the concepts expressed in comment# 3 and comment# 4.

Section &quot;5.2.1 Embedded Documents&quot; will change substantially when we address bug# 4687 (Handling of DTDs ...). Therefore, the actual text used will need to be consistent with the language of the rest of the changes in that section.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18018</commentid>
    <comment_count>6</comment_count>
    <who name="Kumar Pandit">kumarp</who>
    <bug_when>2007-12-10 02:19:16 +0000</bug_when>
    <thetext>Added the following line to section 5.2.1 Embedded Documents:

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. 
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>