From: Joe W. <jo...@gm...> - 2016-09-08 20:28:29
|
Okay, I used util:eval-inline, and got past the issue with "declare context item". I've committed my work thus far here: https://github.com/joewiz/fots-basex/ It still gets caught up in cardinality issues surrounding the check:error() function, which I haven't yet figured out. That said, the logs show that quite a few tests are actually running. Here's the exist.log logging: http://pastebin.com/3P8nzXmm. It dies on this: fn:collection('http://www.w3.org/2010/09/qt-fots-catalog/integers') I asked about this on xquery-talk, since I have no idea what this is! If anyone wants to participate, you can check out qt3 with cvs: # install cvs on macos with homebrew, and prepare a directory $ brew install cvs $ mkdir qt3 $ cd qt3 # connect $ cvs -d :pserver:ano...@de...:/sources/public login # enter password "anonymous" (sans quote) # checkout $ cvs -d :pserver:ano...@de...:/sources/public checkout 2011/QT3-test-suite # wait for lengthy download to complete Joe On Thu, Sep 8, 2016 at 2:45 PM, Joe Wicentowski <jo...@gm...> wrote: > If eXist doesn't support "declare context item", then perhaps I need > to modify the test suite's "eval" behavior to use > util:eval-with-context() and somehow get the context item fed into the > $eval-context-item parameter. The relevant function docs: > > http://exist-db.org/exist/apps/fundocs/view.html?uri=http://exist-db.org/xquery/util#eval-with-context.4 > > Joe > > On Thu, Sep 8, 2016 at 2:40 PM, Joe Wicentowski <jo...@gm...> wrote: >>> I'm not familiar with this "declare context item" declaration or >>> whether eXist supports it. >> >> Just a link to the spec for this declaration: >> >> https://www.w3.org/TR/xquery-31/#id-context-item-declarations >> >> (for context :) >> >> Joe |