diff --git a/examples/monolingual_dictionaries/mononlingual_manual_example.xml b/examples/monolingual_dictionaries/mononlingual_manual_example.xml
new file mode 100644
index 0000000..742b409
--- /dev/null
+++ b/examples/monolingual_dictionaries/mononlingual_manual_example.xml
@@ -0,0 +1,156 @@
+
+
+
+
+ kdo ni po kisli juhi priplaval
+
+
+
+ kdo
+
+
+ ni
+
+
+ po
+
+
+ kisli
+
+
+ juhi
+
+
+ priplaval
+
+
+
+ 1
+
+
+
+ kdo ni po kisli župi priplaval
+
+
+
+
+
+
+
+
+
+ Župani
+ so kljub volitvam povečini na vodilna občinska mesta
+ priplavali
+ po
+ kisli
+ juhi ali župi, kot jo nezmotljivo nemčimo na
+ štajerskem območju.
+
+
+
+
+
+
+
+
+
+ kdo ni po kisli župi priplaval
+
+
+
+ kdo
+
+
+ ni
+
+
+ po
+
+
+ kisli
+
+
+ župi
+
+
+ priplaval
+
+
+
+ 1
+
+
+
+ kdo ni po kisli juhi priplaval
+
+
+
+
+
+
+
+
+
+ Župani
+ so kljub volitvam povečini na vodilna občinska mesta
+ priplavali
+ po
+ kisli juhi ali
+ župi, kot
+ jo nezmotljivo nemčimo na štajerskem območju.
+
+
+
+
+
+
+
+
+
+ kdo ni po juhi priplaval
+
+
+
+
+ kdo
+
+
+ ni
+
+
+ po
+
+
+ juhi
+
+
+ priplaval
+
+
+
+ 24
+
+
+
+
+
+
+
+
+
+
+ Tip tudi
+ ni
+ priplaval
+ po
+ juhi in bo hitro razumel, kaj vam gre po
+ glavi.
+
+
+
+
+
+
+
+
diff --git a/resources/schema/monolingual_dictionaries.xsd b/resources/schema/monolingual_dictionaries.xsd
new file mode 100644
index 0000000..4d7eb35
--- /dev/null
+++ b/resources/schema/monolingual_dictionaries.xsd
@@ -0,0 +1,58 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/resources/schema/mwe_lexicon.xsd b/resources/schema/mwe_lexicon.xsd
deleted file mode 100644
index 8571b8a..0000000
--- a/resources/schema/mwe_lexicon.xsd
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
diff --git a/resources/schema/top_dictionaries.xsd b/resources/schema/top_dictionaries.xsd
new file mode 100644
index 0000000..9ea7428
--- /dev/null
+++ b/resources/schema/top_dictionaries.xsd
@@ -0,0 +1,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/scripts/validate_examples b/scripts/validate_examples
index d3870b3..4f7b71c 100755
--- a/scripts/validate_examples
+++ b/scripts/validate_examples
@@ -4,14 +4,21 @@ script_dir="$(dirname "$(readlink -f "$0")")"
cd $script_dir
schema_dir=../resources/schema
+top_schema=$schema_dir/top_dictionaries.xsd # for now we only have dictionaries
+
example_dir=../examples
for example_subdir in $example_dir/*
do
base=${example_subdir##*/}
- schema=$schema_dir/$base.xsd
+ bottom_schema=$schema_dir/$base.xsd
for example_file in $example_subdir/*.xml
do
- command="xmllint -schema $schema $example_file --noout"
+ command="xmllint -schema $top_schema $example_file --noout"
+ echo $command
+ if ! $command; then
+ exit 1
+ fi
+ command="xmllint -schema $bottom_schema $example_file --noout"
echo $command
if ! $command; then
exit 1