Changeset 4657
- Timestamp:
- 03/07/14 16:44:39 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cats/SCHEMAcat/trunk/urn.org.isocat.schemacat.access.data/access/schemaAuthorizedIDs.dpml
r4568 r4657 135 135 error(xs:QName('sc:accessSchemaIdNotSupplied'),'ERROR updating schema access: schema ID not supplied!') 136 136 else 137 (db:output(element sc:response {attribute success {'true'}, element sc:written-data {$newAccessRules} }), replace node /sc:schema[@xml:id = $schemaID]/sc:access with $newAccessRules) 137 ( 138 let $db-name := db:name(/sc:schema[@xml:id = $schemaID]) 139 return 140 (db:output(element sc:response {attribute success {'true'}, element sc:written-data {$newAccessRules} }), replace node /sc:schema[@xml:id = $schemaID]/sc:access with $newAccessRules, 141 put(/sc:schema[@xml:id = $schemaID], concat(string(db:list-details()[. = $db-name]/@path), file:dir-separator(),db:path(/sc:schema[@xml:id = $schemaID])))) 142 ) 138 143 </query> 139 144 </literal>
Note: See TracChangeset
for help on using the changeset viewer.