diff --git a/README.md b/README.md index 527d75c..aec958c 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,7 @@ XML file to a PDF. This is currently incomplete and not maintained. # Information for Developers -The final ODD is the result of a process that involves multiple steps and depends on the following input files: +The final ODD is the result of a process that involves multiple steps and depends on the following input files in `./schema/resource/`: - the TEI example publication - a schema in RelaxNG Compact syntax diff --git a/corpus/exampleTEI.xml b/corpus/exampleTEI.xml deleted file mode 120000 index 14e58de..0000000 --- a/corpus/exampleTEI.xml +++ /dev/null @@ -1 +0,0 @@ -../examples/tei/exampleTEI.xml \ No newline at end of file diff --git a/schema/legacy/eoa-tei-strict.rnc b/schema/resource/eoa-tei-strict.rnc similarity index 100% rename from schema/legacy/eoa-tei-strict.rnc rename to schema/resource/eoa-tei-strict.rnc diff --git a/schema/resource/exampleTEI.xml b/schema/resource/exampleTEI.xml new file mode 120000 index 0000000..2a6da4b --- /dev/null +++ b/schema/resource/exampleTEI.xml @@ -0,0 +1 @@ +../../examples/tei/exampleTEI.xml \ No newline at end of file diff --git a/scripts/rnc_to_analysis.sh b/scripts/rnc_to_analysis.sh index db4737f..a6f0249 100755 --- a/scripts/rnc_to_analysis.sh +++ b/scripts/rnc_to_analysis.sh @@ -8,7 +8,7 @@ SCRIPT_DIR=$(dirname $0) # variables ####################################### -input="$BASE_DIR/schema/legacy/eoa-tei-strict.rnc" +input="$BASE_DIR/schema/resource/eoa-tei-strict.rnc" output_dir="$BASE_DIR/schema/legacy/generated/analysis" verbosity="2" debug_modules=() diff --git a/scripts/updateOutput.sh b/scripts/updateOutput.sh index ffbd7b6..4fa812c 100755 --- a/scripts/updateOutput.sh +++ b/scripts/updateOutput.sh @@ -61,10 +61,11 @@ echo "##########################################" echo "create ODD from corpus..." $SCRIPT_DIR/example2odd.sh \ - --input-dir "$BASE_DIR/corpus" \ + --input-dir "$BASE_DIR/schema/resource" \ --output-dir "$INTERMEDIATE_DIR/s1/odd" \ --combinations 'all' \ - --suffix '.odd' + --suffix '.odd' \ + '*.xml' $SCRIPT_DIR/apply_odd.sh \ --input-dir "$INTERMEDIATE_DIR/s0/odd_compiled/p5subset.xml" \