Skip to content
Permalink
Browse files

Manual: Removing null chars from XML before running saxon

  • Loading branch information...
oschuett committed Aug 8, 2019
1 parent 1ffd615 commit 95014e7953df11caf3eae9b481fc5f385fe633ed
Showing with 1 addition and 0 deletions.
  1. +1 −0 tools/docker/scripts/test_manual.sh
@@ -25,6 +25,7 @@ cp ${TOOLS}/manual/toggle_folding.js .
set +e # disable error trapping for remainder of script
(
set -e # abort if error is encountered
sed -i 's/\x0/?/g' cp2k_input.xml # replace null bytes which would crash saxon
SAXON="java -jar /usr/share/java/Saxon-HE.jar"
$SAXON -o:index.html ./cp2k_input.xml ${TOOLS}/manual/cp2k_input.xsl add_edit_links=yes
$SAXON -o:cp2k.vim ./cp2k_input.xml ${TOOLS}/input_editing/vim/vim.xsl

0 comments on commit 95014e7

Please sign in to comment.
You can’t perform that action at this time.