Login
Quick Search

XQTS

by adam at 28-9-2008 14:39; Wiki ID: XQTS

In order to run the XQuery Test Suite (XQTS), you need to download and install the XQTS data from the W3C web site. To install and run the XQTS, read the following instructions:

  • Get latest XQTS test suite ZIP file from the W3C site.
  • Extract the file to a location remembered as "XQTS_HOME" on your local drive (it is not needed to create an environment variable).
  • Enable the File XQuery Extension module in EXIST_HOME_HOME/conf.xml (first enable in EXIST_HOME/extensions/build.properties and build.sh extension-modules if necessary).
  • Modify EXIST_HOME/webapp/xqts/config.xml, set
    <basedir>XQTS_HOME</basedir>
    <username>admin</username>
    <password>admin</password>
  • Modify EXIST_HOME/conf.xml set suppress-whitespace="none" if required
  • set disable-deprecated-functions="yes" if required
  • set raise-error-on-failed-retrieval="yes" if required

sm:chmod(xs:anyURI("/db"), "rwurwurwu")

  • Ensure that you have downloaded and copied icu4j-4_8.jar to _HOME/lib/user to get the best Collation Support.
  • Start eXist as full server in EXIST_HOME: bin/startup.sh or bin/startup.bat
  • Start data upload: build.(sh|bat) -f EXIST_HOME/webapp/xqts/build.xml
Links
Latest Posts
AtomicWiki 0.4