Ignore:
Timestamp:
07/06/07 13:52:30 (12 years ago)
Author:
ko23
Message:

Update of ndg_xqueries.py to include time-out capability

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI07-MOLES/trunk/PythonCode/wsgi/ndg_xqueries.py

    r2487 r2553  
    1515declare namespace f='http://ndg.nerc.ac.uk/moles/localfunctions'; 
    1616declare namespace moles='http://ndg.nerc.ac.uk/moles'; 
    17  
     17declare option exist:timeout '24500';  
    1818import module namespace voclib='http://ndg.nerc.ac.uk/xquery/lib/vocab' at 'xmldb:exist:///db/xqueryLib/Vocabs/vocab_xquery_lib.xquery'; 
    1919import module namespace utillib='http://ndg.nerc.ac.uk/xquery/lib/utilities' at 'xmldb:exist:///db/xqueryLib/Utilities/utility_xquery_lib.xquery'; 
     
    258258declare namespace f='http://ndg.nerc.ac.uk/moles/localfunctions'; 
    259259declare namespace moles='http://ndg.nerc.ac.uk/moles'; 
     260declare option exist:timeout '24500';  
    260261 
    261262import module namespace voclib='http://ndg.nerc.ac.uk/xquery/lib/vocab' at 'xmldb:exist:///db/xqueryLib/Vocabs/vocab_xquery_lib.xquery'; 
     
    548549import module namespace voclib='http://ndg.nerc.ac.uk/xquery/lib/vocab' at 'xmldb:exist:///db/xqueryLib/Vocabs/vocab_xquery_lib.xquery'; 
    549550import module namespace utillib='http://ndg.nerc.ac.uk/xquery/lib/utilities' at 'xmldb:exist:///db/xqueryLib/Utilities/utility_xquery_lib.xquery'; 
     551declare option exist:timeout '24500';  
    550552(:  
    551553Will return when scope problem sussed... ;( 
     
    720722import module namespace voclib='http://ndg.nerc.ac.uk/xquery/lib/vocab' at 'xmldb:exist:///db/xqueryLib/Vocabs/vocab_xquery_lib.xquery'; 
    721723import module namespace utillib='http://ndg.nerc.ac.uk/xquery/lib/utilities' at 'xmldb:exist:///db/xqueryLib/Utilities/utility_xquery_lib.xquery'; 
     724declare option exist:timeout '24500';  
    722725(:  
    723726Will return when scope problem sussed... ;( 
     
    921924declare namespace xlink='http://www.w3.org/1999/xlink';  
    922925declare namespace xsi='http://www.w3.org/2001/XMLSchema-instance';  
     926declare option exist:timeout '24500';  
    923927 
    924928declare variable $targetCollection as xs:string {'TargetCollection'}; 
     
    11291133declare namespace xsi='http://www.w3.org/2001/XMLSchema-instance';  
    11301134declare namespace moles='http://ndg.nerc.ac.uk/moles'; 
     1135declare option exist:timeout '24500';  
    11311136 
    11321137declare variable $targetCollection as xs:string {'TargetCollection'}; 
Note: See TracChangeset for help on using the changeset viewer.