<?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>3624</bug_id>
          
          <creation_ts>2006-08-24 06:04:25 +0000</creation_ts>
          <short_desc>unclear if modules-15 really should return XQST0088</short_desc>
          <delta_ts>2006-08-29 19:24:38 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XML Query Test Suite</product>
          <component>XML Query Test Suite</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>INVALID</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="Per Bothner">per</reporter>
          <assigned_to name="Andrew Eisenberg">andrew.eisenberg</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>11256</commentid>
    <comment_count>0</comment_count>
    <who name="Per Bothner">per</who>
    <bug_when>2006-08-24 06:04:25 +0000</bug_when>
    <thetext>The test modules-15 has an &quot;expected-error&quot; of XQST0088.
That is reasonable, but I&apos;m not sure it follows from the spec.

err:XQST0088 is:
    It is a static error if the literal that specifies the target namespace in a module import is of zero length.

But the module import specifies a non-zero-length namespace.
The namespace is then mapped in the &quot;module datebase&quot;
(i.e. XQTSCatalog.xml) to TestSources/test2-lib.xq,
which starts out:
  module namespace test2=&quot;&quot;;

I.e. a zero-length namespace in the *module declaration*,
not in the module import.  There is no explicit requirement in
&quot;4.2 Module Declaration&quot; that the namespace by non-zero-length.
There may be an implicit requirement, of course.

If we go by the spec, the error should perhaps be XQST0059,
since in &quot;4.11 Module Import&quot; we have:
  &quot;It is a static error [err:XQST0059] if the implementation
  is not able to process a module import by finding a valid
  module definition with the specified target namespace.&quot;

Or fix the specification.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11258</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2006-08-24 09:00:26 +0000</bug_when>
    <thetext>The meaning of error code XQST0088 was extended by the resolution of bug #2460.

Michael Kay</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11259</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2006-08-24 09:03:12 +0000</bug_when>
    <thetext>Moreover, the resolution of bug #2460 appears to be correctly reflected in the 8 June 2006 edition of the spec.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11260</commentid>
    <comment_count>3</comment_count>
    <who name="Per Bothner">per</who>
    <bug_when>2006-08-24 15:40:06 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; Moreover, the resolution of bug #2460 appears to be correctly reflected in the
&gt; 8 June 2006 edition of the spec.

So it does.  My apologies.

In my defense let me point out that
http://www.w3.org/XML/Query/
lists the specification as
  Candidate Recommendation 3rd November 2005
and no news item lists the June edition(s).

Perhaps that could be fixed?

Should I resolve this bug, marking it as &quot;fixed&quot;
or perhaps &quot;invalid&quot;?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11309</commentid>
    <comment_count>4</comment_count>
    <who name="Andrew Eisenberg">andrew.eisenberg</who>
    <bug_when>2006-08-29 19:24:26 +0000</bug_when>
    <thetext>I&apos;m going to mark this as invalid. I&apos;ve requested that our public page reflect the new drafts of our CR documents.

Anticipating your acceptance of this resolution, I will also mark this bug report closed.
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>