Changeset 3491
- Timestamp:
- 08/29/13 15:53:37 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cats/SCHEMAcat/trunk/urn.org.isocat.schemacat.access.data/access/user.dpml
r3486 r3491 254 254 <!-- get the user information --> 255 255 <sequence> 256 <request assignment="res ">256 <request assignment="response"> 257 257 <identifier>active:org.basex.query</identifier> 258 258 <argument name="operator"> … … 268 268 <argument name="args">this:arguments</argument> 269 269 </request> 270 <!-- pass the document returned by basex trough sloot.xpath2 so271 when we log the response (end of this dpml) the actual user272 document is logged instead of the value of its pointer!-->273 <request assignment="response">274 <identifier>active:sloot.xpath2</identifier>275 <argument name="operand">this:res</argument>276 <argument name="operator">277 <literal type="xml">278 <dummy>.</dummy>279 </literal>280 </argument>281 </request>282 283 <!-- AAM: it would be better to use sloot.xquery instead of sloot.xpath2284 for instance to log the user document in its own line. However using it285 causes a type mismatch in findUser.dpml since sloot.xquery does not seem286 to return an element of type "document" as expected by findUser.dpml287 288 <request assignment="response">289 <identifier>active:sloot.xquery</identifier>290 <argument name="operator">291 <literal type="xml"><dummy>{$NL}{$doc}{$NL}</dummy></literal>292 </argument>293 <argument name="NL">294 <literal type="string">295 </literal>296 </argument>297 <argument name="doc">this:res</argument>298 </request>-->299 300 270 </sequence> 301 271 </then> … … 317 287 <literal type="string">[access.data] User accessor response: [%1]</literal> 318 288 </message> 319 <param>this:response</param> 289 <param> 290 <!-- pass the response trough sloot.xpath2 so the actual 291 user document is logged instead of the value of its pointer!--> 292 <request> 293 <identifier>active:sloot.xpath2</identifier> 294 <argument name="operand">this:response</argument> 295 <argument name="operator"> 296 <literal type="xml"> 297 <dummy>.</dummy> 298 </literal> 299 </argument> 300 </request> 301 </param> 320 302 </log> 321 303 <request>
Note: See TracChangeset
for help on using the changeset viewer.