[Bug 2779] value-of description (editorial)

http://www.w3.org/Bugs/Public/show_bug.cgi?id=2779

           Summary: value-of description (editorial)
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLT 2.0
        AssignedTo: mike@saxonica.com
        ReportedBy: davidc@nag.co.uk
         QAContact: public-qt-comments@w3.org


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't mention the new possibility of using content rather than a select
attribute. (It's debatable whether this makes the second sentence false, or just
less true than it could have been) Also (although I wouldn't have reported this
one as a problem if not commenting on the first point) it doesn't clarify that 
"text" means text node here (rather than string). 

The paragraphs immediately after the syntax box do have the full details, so
"correcting" 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

Received on Monday, 30 January 2006 10:35:55 UTC