<?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>11609</bug_id>
          
          <creation_ts>2010-12-27 01:32:04 +0000</creation_ts>
          <short_desc>[XQuery] error for mismatched tags</short_desc>
          <delta_ts>2011-09-30 19:19:24 +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>XQuery 1.0</component>
          <version>2nd Edition Recommendation</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>REOPENED</bug_status>
          <resolution></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 Dyck">jmdyck</reporter>
          <assigned_to name="Jonathan Robie">jonathan.robie</assigned_to>
          <cc>jim.melton</cc>
    
    <cc>jonathan.robie</cc>
          
          <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>43558</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2010-12-27 01:32:04 +0000</bug_when>
    <thetext>3.7.1 Direct Element Constructors
&quot;In a direct element constructor, the name used in the end tag must exactly match the name used in the corresponding start tag...&quot;

The spec should say what error to raise for violations of this requirement.

(Note that XPST0003 doesn&apos;t apply -- it&apos;s raised &quot;if an expression is not a valid instance of the grammar defined in A.1 EBNF&quot;, but an expression like &lt;a&gt;&lt;/b&gt; *is* a valid instance of the grammar in A.1.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47342</commentid>
    <comment_count>1</comment_count>
    <who name="Jonathan Robie">jonathan.robie</who>
    <bug_when>2011-04-11 20:45:17 +0000</bug_when>
    <thetext>Added this error, and referenced it from the above text.

err:XQST0118

In a direct element constructor, the name used in the end tag must exactly match the name used in the corresponding start tag, including its prefix or absence of a prefix.

Fixed in the internal draft: errors.xml revision: 1.40; expressions.xml revision: 1.159.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56407</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2011-09-06 16:55:35 +0000</bug_when>
    <thetext>(As with Bug 11986...)

I don&apos;t think this bug should have been marked resolved-fixed.

The corresponding problem in XQuery 3.0 has indeed been resolved, but this bug
was raised against XQuery 1.0 second edition, where the problem has not been
resolved.

In the WG mailing list, the last mention of this bug was in the agenda for
meeting #474 (2011-05-10), with a status of:
   &quot;Pending; possible erratum against Second Edition&quot;
The minutes of that meeting don&apos;t indicate any discussion (much less
resolution) of the bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57001</commentid>
    <comment_count>3</comment_count>
    <who name="Jim Melton">jim.melton</who>
    <bug_when>2011-09-19 21:24:02 +0000</bug_when>
    <thetext>Michael, if I recall correctly (not a foregone conclusion!), Jonathan told us that the change against 1.0 2ed was on his To Do list, and that we agreed to remove the bug from the agenda on that basis.  Until recently, I was using the paradigm that we marked bugs RESOLVED when the decision had been made by the WGs.  (As you know, I recently proposed that we use ASSIGNED for that purpose and defer RESOLVED until the editing had been done.  But even that doesn&apos;t seem to be as readily accepted as I&apos;d hoped.)

Do you disagree that we made the decision to make the same/analogous change to 1.0/2.0 as against 3.0?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57576</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2011-09-30 19:19:24 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; Michael, if I recall correctly (not a foregone conclusion!), Jonathan told us
&gt; that the change against 1.0 2ed was on his To Do list, and that we agreed to
&gt; remove the bug from the agenda on that basis. ...
&gt; 
&gt; Do you disagree that we made the decision to make the same/analogous change to
&gt; 1.0/2.0 as against 3.0?

No, it&apos;s quite possible that we made that decision and it didn&apos;t get recorded in the minutes (or here).

And it&apos;s possible that Jonathan put the change on his To Do list for 1.0 2ed, but (as far as I can tell) there&apos;s no record of that either. (In particular, he didn&apos;t mention it when he marked the bug resolved-fixed.)

That lack of record is mostly why I reopened the bug.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>