W3C home > Mailing lists > Public > public-qt-comments@w3.org > November 2005

[Bug 2458] Leading whitespace in processing instructions

From: <bugzilla@wiggum.w3.org>
Date: Fri, 04 Nov 2005 16:42:22 +0000
To: public-qt-comments@w3.org
Cc:
Message-Id: <E1EY4dy-0008Dd-8Q@wiggum.w3.org>

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

           Summary: Leading whitespace in processing instructions
           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: mike@saxonica.com
         QAContact: public-qt-comments@w3.org


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
Received on Friday, 4 November 2005 16:42:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:42 GMT