<?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>2310</bug_id>
          
          <creation_ts>2005-09-28 12:29:07 +0000</creation_ts>
          <short_desc>4.2 Module declaration</short_desc>
          <delta_ts>2005-09-28 14:33:34 +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>Last Call drafts</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P4</priority>
          <bug_severity>trivial</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Pierrick Brihaye">pierrick.brihaye</reporter>
          <assigned_to name="Don Chamberlin">chamberl</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>6521</commentid>
    <comment_count>0</comment_count>
    <who name="Pierrick Brihaye">pierrick.brihaye</who>
    <bug_when>2005-09-28 12:29:07 +0000</bug_when>
    <thetext>From :

[5]    	ModuleDecl 	   ::=    	&quot;module&quot; &quot;namespace&quot; NCName &quot;=&quot; URILiteral Separator

then :

[140]    	URILiteral 	   ::=    	StringLiteral

Syntactically, a URILiteral is identical to a StringLiteral: a sequence of zero
or more characters enclosed in single or double quotes.

... it is not clear whether :

module namespace foo=&quot;&quot;;

is legal or not.

Should it be ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6533</commentid>
    <comment_count>1</comment_count>
    <who name="Don Chamberlin">chamberl</who>
    <bug_when>2005-09-28 14:11:26 +0000</bug_when>
    <thetext>Pierrick,
Thank you for this comment. On Sept. 28, 2005, the Query Working Group decided 
that it is an error for a module declaration to specify a target namespace 
using an empty URILiteral. A new static error will be defined for this 
condition in the next edition of the XQuery specification. I have marked this 
issue as &quot;Fixed.&quot; If you agree with this resolution, please mark the issue 
as &quot;Closed.&quot;
Regards,
Don Chamberlin (for the Query Working Group)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6545</commentid>
    <comment_count>2</comment_count>
    <who name="Pierrick Brihaye">pierrick.brihaye</who>
    <bug_when>2005-09-28 14:33:34 +0000</bug_when>
    <thetext>An alternative would be to have the opportunity to declare modules in the
&quot;default&quot; namespace by not specifying any binding.

However, it would have too many side effects on the current XQuery grammar, I&apos;m
afraid :-)

I&apos;m so closing this bug.

Thank you for your quick answer.

p.b.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>