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's an inconsistency between processing instruction constructors in XQuery and XSLT: XQuery strips leading whitespace from the string value of the PI, XSLT doesn't. XSLT 1.0 didn't, either. I propose (after tossing a coin) that we converge on the XQuery rule. We could also add a constraint to the data model that the string value of a PI contains no leading whitespace. Revealed by test Constr-comppi-space-3 Michael Kay previously raised internally at http://lists.w3.org/Archives/Member/w3c-xsl-query/2005Oct/0037.html
The two WG discussed this in our meeting of 6 December 2005, and agreed to accept the comment and make the changes recommended.
The required changes have been made to the XSLT 2.0 specification.