[Bug 16199] [XQ30] Default Namespace for Annotations and Annotation Assertions

https://www.w3.org/Bugs/Public/show_bug.cgi?id=16199

Tim Mills <tim@cbcl.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |tim@cbcl.co.uk
         Resolution|FIXED                       |

--- Comment #2 from Tim Mills <tim@cbcl.co.uk> 2012-07-12 15:53:26 UTC ---
The acceptance of this bug would suggest that the default namespace for options
should now be http://www.w3.org/2012/xquery and not
http://www.w3.org/2011/xquery-options as stated in the current internal draft
at

https://www.w3.org/XML/Group/qtspecs/specifications/xquery-30/html/xquery-30.html#id-annotations

Test case annotation-28 expects XQST0045.  According to Bug 16199, the default
namespace for annotations is "http://www.w3.org/2012/xquery".  This is not
listed as reserved in the aforementioned section.  In fact, it's not mentioned
in the specification at all, if I'm not mistaken.

   <test-case name="annotation-28">
      <description>A function annotation (default function namespace does not
affect annotations)</description>
      <created by="Josh Spiegel" on="2012-01-08"/>
      <modified by="John Snelson" on="2012-06-19" change="Changed per bug
16199"/>
      <dependency type="spec" value="XQ30+"/>
      <test><![CDATA[
         declare default function namespace "http://example.com";
         declare %x variable $foo := "bar";
         $foo
      ]]></test>
      <result>
         <error code="XQST0045"/>
      </result>
   </test-case>

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Thursday, 12 July 2012 15:53:27 UTC