Comment 3 for bug 1188320

Revision history for this message
Sorin Marian Nasoi (sorin.marian.nasoi) wrote :

The suggested approach can not be implemented because many queries have part of the prolog in the test-case itself (like base-uri declaration, schema import declaration and so on).

I do not think it's a good approach to try to parse the test and add the necessary
'declare option op:disable "scripting";' in the test itself.

IMHO the approach could be to:
- either fix #956347
- provide a function in XQXQ to disable scripting
- or to provide a CMake configure flag to disable scripting