<?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>4647</bug_id>
          
          <creation_ts>2007-06-13 18:44:30 +0000</creation_ts>
          <short_desc>smlerr:output - why exclude node sets including text nodes, PIs, comments, ... ?</short_desc>
          <delta_ts>2007-09-20 20:24:51 +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>unspecified</version>
          <rep_platform>Macintosh</rep_platform>
          <op_sys>All</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>Second draft</target_milestone>
          <dependson>4978</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="C. M. Sperberg-McQueen">cmsmcq</reporter>
          <assigned_to name="Virginia Smith">virginia.smith</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>15427</commentid>
    <comment_count>0</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2007-06-13 18:44:30 +0000</bug_when>
    <thetext>The description of the &apos;expression&apos; attribute on smlerr:output says,
among other things, &quot;If the node set contains namespace, processing 
instructions, comments, or text nodes, then no output is generated.&quot;

Whether this means &quot;no output is generated for text nodes, etc., 
only for elements and attributes in the node set&quot; or &quot;if there
is anything but elements and attributes in the node set, no 
output at all is generated&quot; (the words are imperfectly clear to me),
the refusal to generate output for text nodes, etc., seems 
unmotivated.  The design would be simpler and the spec more useful
if this restriction were dropped.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16028</commentid>
    <comment_count>1</comment_count>
    <who name="Virginia Smith">virginia.smith</who>
    <bug_when>2007-08-02 19:40:01 +0000</bug_when>
    <thetext>Resolution is to remove the restrictions on these additional node types.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16293</commentid>
    <comment_count>2</comment_count>
    <who name="Virginia Smith">virginia.smith</who>
    <bug_when>2007-08-28 06:19:17 +0000</bug_when>
    <thetext>Section 5.1, last paragraph now reads:
&quot;expression= an XPath 1.0 expression that evaluates to a node set. The expression is evaluated in the context of the node selected by the context attribute in the  parent sch:rule element. This XPath expression can use the deref() extension function.&quot;

In section 5.1.4, first paragraph, the text &quot;The serialization is only performed if the node set contains attribute and/or element nodes. Otherwise, no structured XML is serialized and an empty smlerr:errorData element is returned.&quot;
has been replaced with the following new text:
&quot;If the node set is empty, an empty smlerr:errorData element is returned.&quot;
-----

**This brings up an issue in the next paragraph which specifies how element nodes and attribute nodes are serialized.  How are other node types to be serialized, e.g., text nodes?
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16621</commentid>
    <comment_count>3</comment_count>
    <who name="Pratul Dublish">pratul.dublish</who>
    <bug_when>2007-09-17 15:29:29 +0000</bug_when>
    <thetext>All nodes will be serialized in the same fashion (using XML serialization). Recommend approval of this change by the WG</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16729</commentid>
    <comment_count>4</comment_count>
    <who name="Pratul Dublish">pratul.dublish</who>
    <bug_when>2007-09-20 20:24:51 +0000</bug_when>
    <thetext>Resolving as per consensus on 9/20 call</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>