<?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>10695</bug_id>
          
          <creation_ts>2010-09-23 10:40:32 +0000</creation_ts>
          <short_desc>XQST0054 vs XQST0093</short_desc>
          <delta_ts>2013-06-11 11:21:52 +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 3 &amp; XPath 3 Test Suite</component>
          <version>Working drafts</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</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="O&apos;Neil Delpratt">oneil</assigned_to>
          <cc>andrew.eisenberg</cc>
    
    <cc>nbrinza</cc>
    
    <cc>oneil</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>39200</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2010-09-23 10:40:32 +0000</bug_when>
    <thetext>Test modules-28 expects error XQST0093. It should also allow XQST0054.

err:XQST0054

It is a static error if a variable depends on itself.

err:XQST0093

It is a static error to import a module M1 if there exists a sequence of modules M1 ... Mi ... M1 such that each module directly depends on the next module in the sequence (informally, if M1 depends on itself through some chain of module dependencies.)

One could argue that XQST0093 is preferred because it is more specific; but XQST0054 certainly seems acceptable, and in the case of static errors, we should give processors the benefit of the doubt.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39201</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2010-09-23 10:41:28 +0000</bug_when>
    <thetext>Also affects test errata8-001</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89068</commentid>
    <comment_count>2</comment_count>
    <who name="O&apos;Neil Delpratt">oneil</who>
    <bug_when>2013-06-11 11:21:52 +0000</bug_when>
    <thetext>Closing bug issue as it has been resolved in QT3 for modules-28 (note XQ10) and its equivalent test case for XQ30 (see module-28a). 

For test case errata8-001 - I have added the the error code &apos;XQST0054&apos;.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>