Re: Unsupported execution mode
Paloschi Diego E <DEPALOSCHI <at> qinetiq.com>
2009-02-02 11:46:47 GMT
>> Please ignore message below. Problem was in our code in the way we
>> were creating new xquery contexts and compiled xqueries! Though I am
>> not sure why we didn't get this errors in eXist 1.2.4 rev8072?
>Anyway, you should never get that error message :-/
>It is probably related to a numeric predicate. It would be nice to see
the involved query.
Here is an example of an Xquery (actually, an Xquery update!) which was
returning 'unsupported execution mode' errors:
declare namespace test='http://test.domain.com';
declare variable $docPath external;
let $doc := doc($docPath)
where $doc/test:rootData/test:typeData[contains( <at> subject, 'subject')]
update value $doc/test:rootData/ <at> score with '100'
Please note that these Xqueries are now executing ok since we changed
the way in which the Xquery code is initialized and called.
The information contained in this E-Mail and any subsequent
correspondence is private and is intended solely for the intended
recipient(s). The information in this communication may be
confidential and/or legally privileged. Nothing in this e-mail is
intended to conclude a contract on behalf of QinetiQ or make QinetiQ
subject to any other legally binding commitments, unless the e-mail
contains an express statement to the contrary or incorporates a formal Purchase Order.
For those other than the recipient any disclosure, copying,
distribution, or any action taken or omitted to be taken in reliance
on such information is prohibited and may be unlawful.
Emails and other electronic communication with QinetiQ may be
monitored and recorded for business purposes including security, audit
and archival purposes. Any response to this email indicates consent
Telephone calls to QinetiQ may be monitored or recorded for quality
control, security and other business purposes.
Registered in England & Wales: Company Number:3796233
Registered office: 85 Buckingham Gate, London SW1E 6PD, United Kingdom
Trading address: Cody Technology Park, Cody Building, Ively Road, Farnborough, Hampshire, GU14 0LX,
This SF.net email is sponsored by:
SourceForge wants to tell your story.