Loading rxq/config.xqm +9 −3 Changes for rxq/config.xqm: 9 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -9,6 +9,9 @@ import module namespace max.hht = 'pddn/max/hht' at 'hht.xqm'; (: CONFIGURATION file path. :) declare variable $max.config:CONFIGURATION_FILE := "../configuration/configuration.xml"; (: DEFAULT HTML HEAD TAGS file path. :) declare variable $max.config:DEFAULT_HTML_HEAD_TAGS := "../configuration/defaultHtmlHeadTags.xml"; (::) declare %private function max.config:checkConfiguration($projectId){ Loading Loading @@ -257,6 +260,8 @@ declare function max.config:getTextOptionsFragment($project){ }; (: get project data from config file :) declare function max.config:getProjectData($project){ map:merge( Loading Loading @@ -293,11 +298,12 @@ declare function max.config:getHtmlHeadTags( map{"error" : "Le type doit être 'default', 'html' ou 'xml'"} } catch *{ map{"error" : "Une erreur est survenue."} map{"error" : "Une erreur est survenue. (1)"} } } catch *{} catch *{ map{"error" : "Une erreur est survenue. (2)"} } }; Loading
rxq/config.xqm +9 −3 Changes for rxq/config.xqm: 9 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -9,6 +9,9 @@ import module namespace max.hht = 'pddn/max/hht' at 'hht.xqm'; (: CONFIGURATION file path. :) declare variable $max.config:CONFIGURATION_FILE := "../configuration/configuration.xml"; (: DEFAULT HTML HEAD TAGS file path. :) declare variable $max.config:DEFAULT_HTML_HEAD_TAGS := "../configuration/defaultHtmlHeadTags.xml"; (::) declare %private function max.config:checkConfiguration($projectId){ Loading Loading @@ -257,6 +260,8 @@ declare function max.config:getTextOptionsFragment($project){ }; (: get project data from config file :) declare function max.config:getProjectData($project){ map:merge( Loading Loading @@ -293,11 +298,12 @@ declare function max.config:getHtmlHeadTags( map{"error" : "Le type doit être 'default', 'html' ou 'xml'"} } catch *{ map{"error" : "Une erreur est survenue."} map{"error" : "Une erreur est survenue. (1)"} } } catch *{} catch *{ map{"error" : "Une erreur est survenue. (2)"} } };