Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fontane-notizbuecher
SADE
Commits
04493707
Commit
04493707
authored
Aug 29, 2018
by
Mathias Goebel
Browse files
minor fixes
parent
e4c1faab
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
modules/config/config.xqm
View file @
04493707
...
...
@@ -157,7 +157,7 @@ declare function local:mkcol-recursive($collection, $components) {
()
};
(: Helper function to recursively create a collection hierarchy. :)
declare function
app
:mkcol($path) {
declare function
f-misc
:mkcol($path) {
if(not(starts-with($path, "/")))
then error(QName("error", "path"), "Invalid path. Absolute path required.")
else
...
...
@@ -165,7 +165,7 @@ declare function app:mkcol($path) {
then error(QName("error", "charset"), "Invalid path. use characters that match [a-zA-Z0-9\-\.\+] only.")
else
let $components := tokenize($path, "/")
let $components := tokenize($path, "/")
[.!=""]
return
local:mkcol-recursive($components[1], subsequence($components, 2))
};
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment