Loading src/main/core/utils.xqm +2 −1 Original line number Diff line number Diff line Loading @@ -68,7 +68,8 @@ declare function utils:xml-to-html($lang as xs:string, $path as xs:string, $id a : @return directory :) declare function utils:get-bundles-path() as xs:string{ db:option('webpath') || 'max/bundles/' (: basex sometimes adds / at the end of db:option('webpath'), sometimes not...:, remove it to avoid // :) replace(db:option('webpath'), '/$', '') || '/max/bundles/' }; Loading src/test/conf.xqm +1 −1 Original line number Diff line number Diff line module namespace test = 'https://certic.unicaen.fr/max/tests'; import module namespace conf = 'https://certic.unicaen.fr/max/conf' at '../main/core/conf.xqm'; import module namespace conf = 'https://certic.unicaen.fr/max/conf'; declare %unit:test function test:get-vocabulary-bundle(){ Loading Loading
src/main/core/utils.xqm +2 −1 Original line number Diff line number Diff line Loading @@ -68,7 +68,8 @@ declare function utils:xml-to-html($lang as xs:string, $path as xs:string, $id a : @return directory :) declare function utils:get-bundles-path() as xs:string{ db:option('webpath') || 'max/bundles/' (: basex sometimes adds / at the end of db:option('webpath'), sometimes not...:, remove it to avoid // :) replace(db:option('webpath'), '/$', '') || '/max/bundles/' }; Loading
src/test/conf.xqm +1 −1 Original line number Diff line number Diff line module namespace test = 'https://certic.unicaen.fr/max/tests'; import module namespace conf = 'https://certic.unicaen.fr/max/conf' at '../main/core/conf.xqm'; import module namespace conf = 'https://certic.unicaen.fr/max/conf'; declare %unit:test function test:get-vocabulary-bundle(){ Loading