Raw result, or Bug 29431 - [XSLT30] item-separator applicability

There are a few things that have come to my mind that have not been discussed while we were going over Bug 29431 - [XSLT30] item-separator applicability.

These are assumptions based on discussion and/or my understanding, are they correct?

1) Raw Result is the "typical result" for invoking a transformation by function (I think), as serialization is an API matter in that case (which does not exclude the possibility of serialization)

2) Raw Result only ever raises a conversion error (if the result type cannot be created) for the principal result

3) Raw Result never raises in error with xsl:result-document (because there is no type)

4) xsl:result-document does *not* create a document node per se

5) xsl:result-document may create a sequence of non-serializable items, i.e. maps, if build-tree=no, in which case serialization is not applied, but getting this result is an API matter

6) the default for item-separator is "absent" which is not the same as "empty" (i.e., absent may mean a default space is introduced, empty means no space is introduced).

I think most of these, or all, are already somewhere in the spec. Though they may be unclear to a casual reader (which is not our target audience). Whether or not some of these should be made explicit through Notes or Examples I do not know.

Thanks,
Abel

Received on Friday, 1 April 2016 12:19:01 UTC