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 3061 - inconsistent treatment of the absence of declarations in Section 4 of the XQuery Rec.
Summary: inconsistent treatment of the absence of declarations in Section 4 of the XQu...
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 1.0 (show other bugs)
Version: Candidate Recommendation
Hardware: Other Linux
: P3 minor
Target Milestone: ---
Assignee: Don Chamberlin
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-30 13:32 UTC by Reinhard Pichler
Modified: 2006-04-22 00:39 UTC (History)
1 user (show)

See Also:


Attachments

Description Reinhard Pichler 2006-03-30 13:32:05 UTC
In my eyes, the preferred formulation for the behavior in case of the absence of some kind of declaration is the one given e.g. in Section 4.3 (Boundary Space Declaration). Here it says: "A boundary-space declaration sets... overriding any implementation-defined default". 

In Sections 4.5 (Base URI Declaration) and 4.8 (Empty Order Declaration), it is not specified what happens if no such declaration is given. I would expect an analogous sentence as the one in Section 4.3, i.e. "A ... declaration sets... overriding any implementation-defined default". 

In Section 4.13 (Default Namespace Declaration) it is not specified what happens if no default element/type namespace declaration is given. Again, I would expect an analogous sentence as the one in Section 4.3, i.e. "A ... declaration sets... overriding any implementation-defined default". 

In Section 4.9 (Copy-Namespaces Declaration) it says "A ... declaration sets... overwriting any implementation-defined default". Changing "overwriting" to "overriding" would be preferable.

In Section 4.13 (Default Namespace Declaration) the behavior in case of the absence of a default function namespace declaration is specified as follows: "If no default function namespace declaration is present, the default function namespace is the namespace of XPath/XQuery functions, http://www.w3.org/2005/xpath-functions (however, this default may be overridden by an implementation.)" This formulation is confusing. If the implementation may override this default, then the default function namespace is simply "implementation-defined". Again, the analogous formulation as in Section 4.3 is preferable.
Comment 1 Don Chamberlin 2006-04-22 00:39:37 UTC
Reinhard,
Thank you for your comment. The Query Working Group considered your comment on April 3, 2006 and agreed that more editorial consistency would be desirable in the sections you identified. I have made editorial changes to make these sections more consistent. Note also that the hierarchy of defaults for each static context component is specified in Appendix C. Since these changes are of an editorial nature, I have marked this Bugzilla entry as Fixed and Closed. When you see the next XQuery working draft, if you have further comments, you may of course open a new Bugzilla entry.
Regards,
Don Chamberlin (for the Query Working Group)