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 29045 - K2-DirectConElemNamespace-3 has a typo
Summary: K2-DirectConElemNamespace-3 has a typo
Status: RESOLVED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3 & XPath 3 Test Suite (show other bugs)
Version: Candidate Recommendation
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Josh Spiegel
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-07 21:44 UTC by Josh Spiegel
Modified: 2015-10-06 18:05 UTC (History)
2 users (show)

See Also:


Attachments

Description Josh Spiegel 2015-08-07 21:44:11 UTC
<test-case name="K2-DirectConElemNamespace-3">
  <description> Element constructors aren't well-formed despite the namespace declarations. </description>
  <created by="Frans Englich" on="2007-11-26"/>
  <dependency type="spec" value="XQ10+"/>
  <test><![CDATA[<a:elem xmlns:a="http://example.com/NS" xmlns:b="http://example.com/NS"></b:elem> declare default element namespace "http://example.com/NS";]]></test>
  <result>
    <error code="XQST0118"/>
  </result>
</test-case>

The "declare default element namespace" that occurs after the element constructor seems to be unintended based on the test description and expected error code.  As is, the test should also allow XPST0003.  However, I think it is more appropriate to remove the default element namespace declaration.

(O'Neil, you can assign this bug to me if you want and I will update the test after allowing time for feedback)
Comment 1 O'Neil Delpratt 2015-09-01 16:51:06 UTC
The WG looked at this bug at today's telcon. and agreed with Josh's comment in #0. I am reassigning this bug to Josh to fix accordingly.
Comment 2 Michael Kay 2015-10-06 09:08:01 UTC
Revert apparent vandalism (status change).
Comment 3 O'Neil Delpratt 2015-10-06 18:05:54 UTC
I believe this bug has been fixed in cvs. Marking it as fixed