<?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>2779</bug_id>
          
          <creation_ts>2006-01-30 10:35:40 +0000</creation_ts>
          <short_desc>value-of description (editorial)</short_desc>
          <delta_ts>2006-01-31 17:19:08 +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>XSLT 2.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="David Carlisle">davidc</reporter>
          <assigned_to name="Michael Kay">mike</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>8039</commentid>
    <comment_count>0</comment_count>
    <who name="David Carlisle">davidc</who>
    <bug_when>2006-01-30 10:35:43 +0000</bug_when>
    <thetext>11.4.3, The initial description before the syntax box says

Within a sequence constructor, the xsl:value-of instruction can be used to
compute generated text. The xsl:value-of instruction computes this text using an
expression that is specified as the value of the select attribute. This might,
for example, extract text from a source tree or by inserting the value of a
variable.



This doesn&apos;t mention the new possibility of using content rather than a select
attribute. (It&apos;s debatable whether this makes the second sentence false, or just
less true than it could have been) Also (although I wouldn&apos;t have reported this
one as a problem if not commenting on the first point) it doesn&apos;t clarify that 
&quot;text&quot; means text node here (rather than string). 

The paragraphs immediately after the syntax box do have the full details, so
&quot;correcting&quot; the first paragraph might end up just duplicating the text and it
might be better to say less, eg just

Within a sequence constructor, the xsl:value-of instruction can be used to
compute generated text nodes.

Whatever. This is purely editorial and feel free to close this report without
needing to ask me (even if your decision is no change)

David</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8065</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2006-01-31 17:14:00 +0000</bug_when>
    <thetext>I have fixed this editorially by changing the paragraph to read

&lt;p&gt;Within a &lt;termref def=&quot;dt-sequence-constructor&quot;&gt;sequence
constructor&lt;/termref&gt;, the &lt;elcode&gt;xsl:value-of&lt;/elcode&gt; instruction can be
used to generate computed text nodes. The
&lt;elcode&gt;xsl:value-of&lt;/elcode&gt; instruction computes the text using an &lt;termref
def=&quot;dt-expression&quot;&gt;expression&lt;/termref&gt; that is specified as the value of the
&lt;code&gt;select&lt;/code&gt; attribute, or by means of contained instructions&lt;/phrase&gt;.
This might, for example, extract text from a &lt;termref
def=&quot;dt-source-tree&quot;&gt;source tree&lt;/termref&gt; or insert the value of a variable.&lt;/p&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8067</commentid>
    <comment_count>2</comment_count>
    <who name="David Carlisle">davidc</who>
    <bug_when>2006-01-31 17:19:08 +0000</bug_when>
    <thetext>Thanks, closing this.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>