Replaced xmldb:get-owner(), as it is deprecated, with
security:get-owner().