[Bug 19868] [QT3TS] alternate result for XQST0046 test cases

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

--- Comment #2 from Andrew Eisenberg <andrew.eisenberg@us.ibm.com> ---
In order to narrow XQST0046_10 to test just the URI of the module being
imported, I suggest that the test be rewritten as:

   <test-case name="XQST0046_10">
      <description> check that bad namespace declarations are reported
correctly </description>
      <created by="Tim Mills" on="2008-05-16"/>
      <modified by="Tim Mills" on="2011-11-06" change="Resolved Bug 19868"/>
      <module uri="%gg" file="CombinedErrorCodes/XQST0046_lib.xq"/>
      <test>import module "%gg"; true()</test>
      <result>
    <any-of>
      <error code="XQST0046"/>
      <assert-true />
    </any-of>
      </result>
   </test-case>

I suggest the same change for XQST0046_08.

For XQST0046_09 and XQST0046_11, it seems that XQST0059 should be allowed.

"It is a static error [err:XQST0059] if the implementation is not able to
process a schema import by finding a valid schema with the specified target
namespace."

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

Received on Tuesday, 6 November 2012 15:14:07 UTC