Last change
on this file since 3488 was
3488,
checked in by andmor, 11 years ago
|
Added module name to log messages.
|
File size:
884 bytes
|
Line | |
---|
1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
2 | <sequence debug="false"> |
---|
3 | <!-- execute the query --> |
---|
4 | <request assignment="res"> |
---|
5 | <identifier>active:org.basex.query</identifier> |
---|
6 | <argument name="operator">arg:query</argument> |
---|
7 | <varargs/> |
---|
8 | </request> |
---|
9 | <!-- we expect the boolean query to return <b>t</b> or <b>true</b> for true, otherwise its false --> |
---|
10 | <request assignment="response"> |
---|
11 | <identifier>active:sloot.xpath2</identifier> |
---|
12 | <argument name="operand">this:res</argument> |
---|
13 | <argument name="operator"> |
---|
14 | <literal type="string">boolean(normalize-space(.)=('t','true'))</literal> |
---|
15 | </argument> |
---|
16 | </request> |
---|
17 | <sloot-debug> |
---|
18 | <log> |
---|
19 | <level>INFO</level> |
---|
20 | <message> |
---|
21 | <literal type="string">[basex.REST] Boolean xquery[%1] > [%2] [%3]</literal> |
---|
22 | </message> |
---|
23 | <param>arg:query</param> |
---|
24 | <param>this:res</param> |
---|
25 | <param>this:response</param> |
---|
26 | </log> |
---|
27 | </sloot-debug> |
---|
28 | </sequence> |
---|
Note: See
TracBrowser
for help on using the repository browser.