<?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>16200</bug_id>
          
          <creation_ts>2012-03-02 13:04:39 +0000</creation_ts>
          <short_desc>[XQ30] Predeclare &quot;err&quot; and &quot;output&quot; namespaces</short_desc>
          <delta_ts>2012-06-12 16:36:36 +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.0</component>
          <version>Last Call drafts</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          <see_also>https://www.w3.org/Bugs/Public/show_bug.cgi?id=10681</see_also>
          <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="John Snelson">john.snelson</reporter>
          <assigned_to name="Jonathan Robie">jonathan.robie</assigned_to>
          <cc>jim.melton</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>64906</commentid>
    <comment_count>0</comment_count>
    <who name="John Snelson">john.snelson</who>
    <bug_when>2012-03-02 13:04:39 +0000</bug_when>
    <thetext>The namespace URIs that XQuery 3.0 uses are long and contain arbitrary years, making them difficult to remember. Everytime they need to be used, they currently need to be looked up in the spec, or some reference to add a declarations for them.

Since these namespace URIs are commonly used in an XQuery 3.0 module, I suggest that we predeclare two more namespace bindings:

err = http://www.w3.org/2005/xqt-errors
output = http://www.w3.org/2010/xslt-xquery-serialization</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64907</commentid>
    <comment_count>1</comment_count>
    <who name="John Snelson">john.snelson</who>
    <bug_when>2012-03-02 13:05:06 +0000</bug_when>
    <thetext>We should also consider what to for the &quot;math&quot; namespace.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66377</commentid>
    <comment_count>2</comment_count>
    <who name="Jonathan Robie">jonathan.robie</who>
    <bug_when>2012-04-03 16:56:16 +0000</bug_when>
    <thetext>This is related to Bug 10681, where we decided to avoid getting in the way of any predeclarations that implementations might make.

I prefer to either (1) predeclare any namespace we define that is generally useful in a query, including these, or (2) avoid predeclaring namespaces, as we decided in Bug 10681. I&apos;m happy with either extreme, but I want to have a simple rule to explain to users.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69002</commentid>
    <comment_count>3</comment_count>
    <who name="Jonathan Robie">jonathan.robie</who>
    <bug_when>2012-06-12 16:36:36 +0000</bug_when>
    <thetext>The WG disagrees. We will not predeclare these prefixes.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>