changed the XQUERY to mirror the change in the code
This commit is contained in:
parent
37ad2f28e9
commit
7e81a17068
|
@ -23,6 +23,8 @@ public class QueryInformationSystemTest {
|
|||
private static final String XQUERY = "for $x in collection('/db/DRIVER/ContextDSResources/ContextDSResourceType') "
|
||||
+
|
||||
" where $x//CONFIGURATION/context[./@type='community' or ./@type='ri'] " +
|
||||
" and ($x//context/param[./@name = 'status']/text() = 'manager' or $x//context/param[./@name = 'status']/text() = 'all') "
|
||||
+
|
||||
" return " +
|
||||
"<community> " +
|
||||
"{$x//CONFIGURATION/context/@id}" +
|
||||
|
|
Loading…
Reference in New Issue