<?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>4030</bug_id>
          
          <creation_ts>2006-12-03 12:38:49 +0000</creation_ts>
          <short_desc>[F+O] &quot;may not&quot; ambiguity</short_desc>
          <delta_ts>2007-02-25 23:35:58 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XPath / XQuery / XSLT</product>
          <component>Functions and Operators 1.0</component>
          <version>Candidate Recommendation</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>CLOSED</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="Michael Kay">mike</reporter>
          <assigned_to name="Ashok Malhotra">ashok.malhotra</assigned_to>
          
          
          <qa_contact name="Mailing list for public feedback on specs from XSL and XML Query WGs">public-qt-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>13060</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2006-12-03 12:38:49 +0000</bug_when>
    <thetext>In the Note in 7.3.1 (concat), it&apos;s unclear what the phrase &quot;the result of fn:concat may not be normalized&quot; means. Does it mean that the processor might not normalize the value, or that it must not normalize the value?

It&apos;s also unclear what the start of the sentence &quot;As mentioned in the note above&quot; is referring to.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13065</commentid>
    <comment_count>1</comment_count>
    <who name="Ashok Malhotra">ashok.malhotra</who>
    <bug_when>2006-12-03 15:17:56 +0000</bug_when>
    <thetext>The &quot;As mentioned in the note above&quot; refers, in fact, to a sentence in Section 7.1
[String Types].  I suggest we either remove these words or change then to read &quot;As  mentioned in [Section 7.1 String Types]&quot;.

I believe the &quot;may not be normalized&quot; means may or may not be normalized -- in the sense that there is no need to normalize the result.  This reads OK to me but if you feel strongly we can change to &quot;may or may not be normalized&quot;. </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13070</commentid>
    <comment_count>2</comment_count>
    <who name="David Carlisle">davidc</who>
    <bug_when>2006-12-04 15:52:43 +0000</bug_when>
    <thetext>(In reply to comment #1)

&gt; I believe the &quot;may not be normalized&quot; means may or may not be normalized -- in
&gt; the sense that there is no need to normalize the result.  This reads OK to me
&gt; but if you feel strongly we can change to &quot;may or may not be normalized&quot;. 

I&apos;m not the original poster, but I think that change would make things more confusing.

I think the main confusion arises because it is not clear (either in the spec, or in the comment #1 quoted above whether &quot;normalized&quot; in &quot;may not be normalized&quot; refers to the action of applying the normalization algorithm, or
a description of the resulting string being in normal form.

The sentence in 7.1 and the later example in section 7.4.1 make clear, Unicode Normalization will _not_ be applied automatically, this has the effect that the result of concat (like any string) may or may not be &quot;normalized&quot;
in the sense that it may or may not be in one of the Normal forms.

So I&apos;d suggest changing the first sentence of the note in 7.4.1 to say

As mentioned in [Section 7.1 String Types] Unicode normalization is not automatically applied to the result of fn:concat.


</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13071</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2006-12-04 16:01:13 +0000</bug_when>
    <thetext>Yes, I think David is right on all three counts:

(a) the ambiguity between the act of normalizing and the state of being normalized

(b) the intended meaning that the processor should perform no normalization

(c) the resulting outcome, that is the possibility that the result will not be in normal form
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13163</commentid>
    <comment_count>4</comment_count>
    <who name="Ashok Malhotra">ashok.malhotra</who>
    <bug_when>2006-12-13 15:47:52 +0000</bug_when>
    <thetext>On the Dec 12, 2006 telcon the WGs decided to accept David Carlisle&apos;s suggestion to change the first sentence in the note in 7.4.1 to read &quot;As mentioned in [Section 7.1 String Types] Unicode normalization is not automatically applied to the result of fn:concat.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14122</commentid>
    <comment_count>5</comment_count>
    <who name="Jim Melton">jim.melton</who>
    <bug_when>2007-02-25 23:35:58 +0000</bug_when>
    <thetext>Closing bug because commenter has not objected to the resolution posted and more than two weeks have passed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>