<?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>7279</bug_id>
          
          <creation_ts>2009-08-14 20:04:13 +0000</creation_ts>
          <short_desc>missing whitespace from expected ValStrict tests.</short_desc>
          <delta_ts>2009-11-05 14:28:13 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XQuery Update Facility Test Suite</product>
          <component>XQuery Update Facility Test Suite</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</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>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Markos Zaharioudakis">markos_za</reporter>
          <assigned_to name="Michael Kay">mike</assigned_to>
          
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>26406</commentid>
    <comment_count>0</comment_count>
    <who name="Markos Zaharioudakis">markos_za</who>
    <bug_when>2009-08-14 20:04:13 +0000</bug_when>
    <thetext>In query valstrict-ins-005-test.xq there are some spaces after the closing tags &lt;/c&gt;, &lt;/e&gt;, and &lt;/f&gt;. These spaces are omitted from the expected result for this test.

The same problem exists in the following tests as well:

valstrict-del-002
valstrict-del-004
valstrict-ins-003
valstrict-ins-005
valstrict-ins-007
valstrict-ren-003
valstrict-repnode-003

and the revalidate-xxx versions of the above.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29330</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2009-11-05 12:23:24 +0000</bug_when>
    <thetext>I&apos;m inclined to see the problem the other way round - see bug #7793. I think there is too much whitespace in the results.

You say: In query valstrict-ins-005-test.xq there are some spaces after the closing tags &lt;/c&gt;, &lt;/e&gt;, and &lt;/f&gt;. These spaces are omitted from the expected result for this test.

But this is boundary whitespace, as defined in section 3.7.1.4 of the XQuery 1.0 spec, and by default boundary whitespace in the query has no significance.

The whitespace in the result comes not from copying the boundary whitespace in the query, but from running the serializer (incorrectly) with indent=yes.

I am proposing to regenerate the results using indent=no, and this will eliminate the whitespace that is currently there.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29336</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2009-11-05 14:28:13 +0000</bug_when>
    <thetext>I have regenerated the results with indent=&quot;no&quot; omit-xml-declaration=&quot;yes&quot;, so
I believe the problem is now fixed, and am closing the bug accordingly.
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>