[Bug 29045] New: K2-DirectConElemNamespace-3 has a typo

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

            Bug ID: 29045
           Summary: K2-DirectConElemNamespace-3 has a typo
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery 3 & XPath 3 Test Suite
          Assignee: oneil@saxonica.com
          Reporter: josh.spiegel@oracle.com
        QA Contact: public-qt-comments@w3.org
  Target Milestone: ---
             Group: XSLXQuery_WG

<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)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Friday, 7 August 2015 21:44:13 UTC