Skip to content

Fix get concordance

Daniel Roewenstrunk requested to merge fix_getConcordance into develop

Created by: bwbohl

actually this PR reworks util.xqm

  • the reason for getConcordance to fail was in util:getLocalizedName returning non-normalised $node if no explicit rule was defined for a node. This breaks the returned concordance-JSON due to the contained line-breaks
  • adding fn:normalize-space fixed it

Moreover this PR does some Linton of the eutil module

Merge request reports

Loading