This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
In the current 3.1 draft it is proposed that string() when applied to a sequence should do a string-join(). I don't recall the precise logic for this but it arose from some use case involving arrays. Whatever the merits, we should note the incompatibility with XPath 1.0 which is still very widely used and will probably remain so: in XPath 1.0, string() applied to a sequence (set) of nodes outputs the string-value of the first node in the sequence.
The WG was persuaded that the incompatibility with XPath 1.0 was undesirable, and decided that string() should revert to its 3.0 specification, that is, it should not do an implicit string-join() over a sequence.
In reviewing whether to close this, I spotted that a couple of examples had not been changed as a result of this decision, and that the Note was now misleading. I have made the required changes.