This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 16200 - [XQ30] Predeclare "err" and "output" namespaces
Summary: [XQ30] Predeclare "err" and "output" namespaces
Status: RESOLVED WONTFIX
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3.0 (show other bugs)
Version: Last Call drafts
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Jonathan Robie
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-02 13:04 UTC by John Snelson
Modified: 2012-06-12 16:36 UTC (History)
1 user (show)

See Also:


Attachments

Description John Snelson 2012-03-02 13:04:39 UTC
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
Comment 1 John Snelson 2012-03-02 13:05:06 UTC
We should also consider what to for the "math" namespace.
Comment 2 Jonathan Robie 2012-04-03 16:56:16 UTC
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'm happy with either extreme, but I want to have a simple rule to explain to users.
Comment 3 Jonathan Robie 2012-06-12 16:36:36 UTC
The WG disagrees. We will not predeclare these prefixes.