Closed jelmervdl closed 13 years ago
I was afraid this might happen; DbCorpusReader uses some heuristics to work around the poorly documented (and apparently non-standard, or at least unforgiving) XQuery format used in DB XML, as well as the character encoding conventions that Qt forces upon us (and which differ from DB XML). I did not test these very thoroughly.
See the setNameAndCollection
and runQuery
member functions in src/DbCorpusReader.cpp.
"Fixed" this in 167b02080863921cfaf987be18d214652d6a7192 by using an alias.
It throws an exception as soon as I call CorpusReader::query(XPATH, "//node[@rel='su']"). alpino2db also does not work:
edit: it could be related to this: http://forums.oracle.com/forums/thread.jspa?messageID=2189426