From 0a7beb4ab9a936fa41ad233d88cd7757ea4848b9 Mon Sep 17 00:00:00 2001 From: Dave Cassel Date: Fri, 10 Jan 2014 15:26:19 -0500 Subject: [PATCH] #165 adjusting xpath to get to the right level --- deploy/lib/xquery/setup.xqy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/lib/xquery/setup.xqy b/deploy/lib/xquery/setup.xqy index 25801be0..2e19c6c3 100644 --- a/deploy/lib/xquery/setup.xqy +++ b/deploy/lib/xquery/setup.xqy @@ -3529,7 +3529,7 @@ declare function setup:create-roles( let $description as xs:string? := $role/sec:description let $role-names as xs:string* := $role/sec:role-names/sec:role-name let $permissions as element(sec:permission)* := $role/sec:permissions/* - let $collections as xs:string* := $role/sec:collections/* + let $collections as xs:string* := $role/sec:collections/sec:collection/fn:string() let $privileges as element(sec:privilege)* := $role/sec:privileges/sec:privilege let $amps as element(sec:amp)* := $role/sec:amps/* let $eval-options :=