Skip to content

Commit

Permalink
[bugfix] Forward port from - eXist-db#22 - Use correct XDM type for c…
Browse files Browse the repository at this point in the history
…ompatibility with eXist-db 6.x.x and without breaking backwards compatibility

Closes eXist-db#2
  • Loading branch information
adamretter committed Aug 25, 2023
1 parent 293ef3d commit fa94072
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/xar-resources/modules/exsaml.xqm
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ declare %private function exsaml:build-saml-authnreq() {
return $req
};

declare %private function exsaml:store-authnreqid-as-exsol-user($id as xs:string, $instant as xs:string) {
declare %private function exsaml:store-authnreqid-as-exsol-user($id as xs:string, $instant as xs:dateTime) {
let $create-collection :=
if (
not(xmldb:collection-available($exsaml:saml-coll-reqid))
Expand All @@ -139,7 +139,7 @@ declare %private function exsaml:store-authnreqid-as-exsol-user($id as xs:string
};

(: store issued request ids in a collection, :)
declare %private function exsaml:store-authnreqid($id as xs:string, $instant as xs:string) {
declare %private function exsaml:store-authnreqid($id as xs:string, $instant as xs:dateTime) {
let $log := exsaml:log("info", "storing SAML request id: " || $id || ", date: " || $instant)
return
system:as-user(
Expand Down

0 comments on commit fa94072

Please sign in to comment.