This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
There is a residual difference between XSLT and XQuery in the area of xml:id processing. XQuery specifies that a constructed xml:id value will be whitespace-normalized (as per normalize-space(), or "collapse" in schema terminology). XSLT does not require this. I think we should bring XSLT into line with XQuery on this. The impact of this is: In 11.3 (xsl:attribute) change the sentence If the name of a constructed attribute is xml:id, the resulting attribute node will have the is-id property. to read If the name of a constructed attribute is xml:id, the processor must perform attribute value normalization by applying the fn:normalize-space() function to the value of the attribute, and the resulting attribute node must be given the is-id property. In 11.1.2 (attributes of literal result elements) add, before the second Note: If the name of a constructed attribute is xml:id, the processor must perform attribute value normalization by applying the fn:normalize-space() function to the value of the attribute, and the resulting attribute node must be given the is-id property. Michael Kay
The proposal was accepted, with the additional provision that it is implementation-defined whether attribute-value-normalization is applied to an xml:id attribute during copy of copy-of operations, in the unusual event that the attribute was not already whitespace normalized on the source tree. Changes now applied to source document.