<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>2458</bug_id>
          
          <creation_ts>2005-11-04 16:42:22 +0000</creation_ts>
          <short_desc>Leading whitespace in processing instructions</short_desc>
          <delta_ts>2006-01-05 18:25:58 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XPath / XQuery / XSLT</product>
          <component>XSLT 2.0</component>
          <version>Candidate Recommendation</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Kay">mike</reporter>
          <assigned_to name="Michael Kay">mike</assigned_to>
          
          
          <qa_contact name="Mailing list for public feedback on specs from XSL and XML Query WGs">public-qt-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>7042</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2005-11-04 16:42:22 +0000</bug_when>
    <thetext>There&apos;s an inconsistency between processing instruction constructors in
XQuery and XSLT: XQuery strips leading whitespace from the string value of
the PI, XSLT doesn&apos;t.

XSLT 1.0 didn&apos;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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7349</commentid>
    <comment_count>1</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2005-12-08 19:17:53 +0000</bug_when>
    <thetext>The two WG discussed this in our meeting of 6 December 2005,
and agreed to accept the comment and make the changes
recommended.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7416</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2005-12-13 12:19:45 +0000</bug_when>
    <thetext>The required changes have been made to the XSLT 2.0 specification.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>