'{1}' is a syntactically invalid XQuery expression.

Bug #1188320 reported by Sorin Marian Nasoi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
New
Undecided
Sorin Marian Nasoi

Bug Description

test-case 'K-Literals-30' from 'prod-Literal' test-set is failing.

Tags: fots
Revision history for this message
Sorin Marian Nasoi (sorin.marian.nasoi) wrote :
Revision history for this message
Markos Zaharioudakis (markos-za) wrote :

{1} is a valid block expression in scripting. To achieve W3C conformance, the test driver should add code in each query to disable the scripting feature.

Changed in zorba:
assignee: Markos Zaharioudakis (markos-za) → Sorin Marian Nasoi (sorin.marian.nasoi)
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

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.