Commit 903f8d31 authored by Mathias Goebel's avatar Mathias Goebel 🎠
Browse files

short namespace prefix

parent 4be82a89
......@@ -15,7 +15,7 @@ import module namespace dsk-view="http://semtonotes.github.io/SemToNotes/dsk-vie
import module namespace fontaneTransfo="http://fontane-nb.dariah.eu/Transfo" at '../fontane/transform.xqm';
import module namespace fontaneSfEx="http://fontane-nb.dariah.eu/SfEx" at '../fontane/surfaceExtract.xqm';
import module namespace fontaneLitVZ="http://fontane-nb.dariah.eu/LitVZ" at "../fontane/literaturverzeichnis.xqm";
import module namespace fontaneregister="http://fontane-nb.dariah.eu/register" at "../fontane/register.xqm";
import module namespace f-register="http://fontane-nb.dariah.eu/register" at "../fontane/register.xqm";
import module namespace fontaneUeberblickskommentar="http://fontane-nb.dariah.eu/Ueberblickskommentar" at "../fontane/ueberblickskommentar.xqm";
import module namespace console="http://exist-db.org/xquery/console";
......@@ -73,7 +73,7 @@ declare function local:showAuth($node as node(), $model as map(*), $id as xs:str
case 'ueberblickskommentar' return
try {fontaneUeberblickskommentar:render($docpath)}
catch * { <error>Caught error {$err:code}: <br/> {$err:description}. <br/> Data: <br/> {$err:value} </error> }
case 'register' return fontaneregister:register()
case 'register' return f-register:register()
default return mviewer:renderFontane($node, $model, $docpath)
else
<div class="container FontaneAuth">
......@@ -427,5 +427,5 @@ declare function mviewer:registerT($node as node(), $model as map(*), $id as xs:
let $data-dir := config:get('data-dir')
let $docpath := $data-dir || '/' || $id
return
fontaneregister:register()
f-register:register()
};
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment