Comment 1 for bug 923672

Revision history for this message
Chris Hillery (ceejatec) wrote :

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.