← Back to team overview

zorba-coders team mailing list archive

[Bug 923672] Re: Impossible to set context-item for rbkt test (externall)

 

For the W3C tests, this is not a problem. In fact, the tests are not
rewritten at all. The text of validateexpr-17.xq is exactly the same in
the .zip we download from w3.org and when we execute the test. Passing
the "context item" by setting the variable $input-context1 is a
supported and documented way of running the XQTS; see

  http://dev.w3.org/2006/xquery-test-
suite/PublicPagesStagingArea/Guidelines%20for%20Running%20the%20XML%20Query%20Test%20Suite.html

So there is no need to make any changes to testdriver to support XQTS.

If we want the ability to directly test the context item for our own
testing, that's another story. But I would actually suggest that we add
such an ability to the XQuery-based test driver that is being developed,
rather than hacking yet another flag into the current testdriver.

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/923672

Title:
  Impossible to set context-item for rbkt test (externall)

Status in Zorba - The XQuery Processor:
  New

Bug description:
  Currently, there is no way to set the context item before executing an
  rbkt test. Therefore, many tests of the w3c testsuite are rewritten
  and the context item passed via the variable input-context1, e.g.
  SchemaValidation/ValidateExpression/validateexpr-17.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/923672/+subscriptions


Follow ups

References