<?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>2420</bug_id>
          
          <creation_ts>2005-10-26 20:13:32 +0000</creation_ts>
          <short_desc>xsl:message treats a colision of select attribute and sequence-constructor in contentare different from other elements</short_desc>
          <delta_ts>2006-03-08 21:45:12 +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>WONTFIX</resolution>
          
          
          <bug_file_loc>http://www.w3.org/TR/xslt20/#element-perform-sort</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sergey Dubinets">sdubinets</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>6922</commentid>
    <comment_count>0</comment_count>
    <who name="Sergey Dubinets">sdubinets</who>
    <bug_when>2005-10-26 20:13:32 +0000</bug_when>
    <thetext>In XSLT 2.0 many instructions allow two alternatives in specifying content:
1. with optional select attribute.
2. with sequence-constructor as content.
In most of them attribute select and sequence-constructor are &quot;mutually
exclusive&quot;  (with more or less consisting wording of this fact).
xsl:variable, xsl:param, xsl:with-param, xsl:attribute, xsl:manespace,
xsl:comment, xsl:processing-instruction, xsl:value-of, xsl:sort, xsl:perform-sort.

xsl:message handles this collision differently: it allows both of them.

This looks like a bug in a spec.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6972</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2005-10-31 13:14:16 +0000</bug_when>
    <thetext>This isn&apos;t a bug in the spec: it was a conscious design decision, though one
that you are free to disagree with.

The reason it was done this way is that xsl:message is used mainly for
diagnostics, and it was thought undesirable that a diagnostic facility should
itself produce errors. Furthermore, one of the reasons that other instructions
aren&apos;t allowed to have both a select attribute and a content body is that it&apos;s
not obvious how the two should be ordered in the output; for xsl:message the
resulting order is likely to be of little consequence.

I&apos;ve classified this as &quot;LATER&quot; so the WG will come back to it at some stage.

Michael Kay
personal response. </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8165</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2006-02-08 22:40:37 +0000</bug_when>
    <thetext>We closed this just before going into CR, as we were not then in a position to
accept new comments. I am reopening it now for WG review and response as we
promised to come back to it later.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8310</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2006-02-17 18:31:45 +0000</bug_when>
    <thetext>The XSL Working Group discussed this comment at its meeting on 16th Feb 2006.

There were no strong feelings in either direction as to whether the language was
better with or without this change. In this situation, at this stage of the
development of the language, we stick with the status quo. I don&apos;t think many
users are going to hit problems because of this minor inconsistency, and a few
users might be saved a debug cycle.

I am therefore closing the bug report as &quot;won&apos;t fix&quot;, indicating that we propose
to make no change to the specification. If you are content with this response,
please mark the bug report as closed; otherwise please supply further
explanation as to why the change needs to be made. If we don&apos;t hear from you, we
will close the bug report at the end of February.

Michael Kay
for the XSL Working Group</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>