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 5087 - namespacedecl-3
Summary: namespacedecl-3
Status: RESOLVED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: unspecified
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Frans Englich
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-29 17:04 UTC by Michael Kay
Modified: 2008-06-30 16:14 UTC (History)
2 users (show)

See Also:


Attachments

Description Michael Kay 2007-09-29 17:04:38 UTC
The effect of the erratum agreed against bug #4463 is that query namespace-decl-3 is now a valid query.
Comment 1 Frans Englich 2007-10-02 09:51:01 UTC
A fix has been attempted in CVS, XQTS_current.zip is updated.

If the resolution is satisfactory, feel free to change status to closed. Otherwise reopen this report. If no feedback is given within two weeks, status will be set to closed.
Comment 2 Michael Kay 2008-06-09 09:29:05 UTC
In the current CVS version of the catalog, namespace-decl-3 is still recorded as expecting an error result.
Comment 3 Michael Kay 2008-06-09 09:30:40 UTC
Sorry, the name of the test is

namespaceDecl-3
Comment 4 Frans Englich 2008-06-24 14:45:33 UTC
Ok, a second attempt is in CVS.
Comment 5 Tim Mills 2008-06-26 12:33:11 UTC
I'm probably missing something here, but shouldn't this be expecting XQTS0070?

Quoting from Bug 4463:

"(1) Section 4.12 (Namespace Declaration)

Replace paragraph 5 as follows:

The namespace prefix specified in a namespace declaration must not be xml 
or xmlns [err:XQST0070]."


That said, I note that Bug 4463 hasn't been listing in Errata for XQuery 1.0.  What's the current status?

(: Name: namespaceDecl-3:)
(: Description: Evaluation of usage of predefined namespace xml = "http://www.w3
.org/XML/1998/namespace":)

declare namespace xml = "http://www.w3.org/XML/1998/namespace";

(: insert-start :)
declare variable $input-context1 extern
al;
(: insert-end :)
"a"
Comment 6 Michael Kay 2008-06-26 12:55:47 UTC
Agreed - it seems that the outcome of bug 4463 is that explicitly binding the prefix "xml" to the XML namespace is OK in a direct element constructor but not in the prolog. Sigh.
Comment 7 Frans Englich 2008-06-26 13:18:05 UTC
Alrighty, CVS should be back to where we started.
Comment 8 Tim Mills 2008-06-30 16:14:27 UTC
I'm getting an error runnng Catalog002 which may indicate an error in the catalog.

Expected '<standard-no-outputfile></standard-no-outputfile>', 
was '<standard-no-outputfile>namespaceDecl-3</standard-no-outputfile>'