Updated new metadata scheme
diff --git a/t/WDD/G27/38989/connexor/metadata.xml b/t/WDD/G27/38989/connexor/metadata.xml
new file mode 100644
index 0000000..2fa7ef2
--- /dev/null
+++ b/t/WDD/G27/38989/connexor/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-model href="metadata.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
+
+<metadata type="foundry" xmlns="http://ids-mannheim.de/ns/KorAP" docid="WDD11_G27.38989">
+  <doc file="../text.xml" />
+  <foundry name="mpt">
+    <layer name="sent" type="segm" gran="s" file="sentences.xml" />
+    <layer name="phrase" file="phrase.xml" />
+    <layer name="token" type="segm" gran="tok" file="tokens.xml" />
+    <layer name="syntax" file="syntax.xml" />
+    <layer name="morph" file="morpho.xml" />
+  </foundry>
+</metadata>
diff --git a/t/WDD/G27/38989/connexor/morpho.xml b/t/WDD/G27/38989/connexor/morpho.xml
new file mode 100644
index 0000000..3a09a52
--- /dev/null
+++ b/t/WDD/G27/38989/connexor/morpho.xml
@@ -0,0 +1,180 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-model href="span.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
+
+<layer xmlns="http://ids-mannheim.de/ns/KorAP" version="KorAP-0.4" docid="WDD11_G27.38989">
+  <spanList>
+    <span id="s0" from="0" to="1">
+      <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+        <f name="lex">
+          <fs>
+            <f name="lemma">{</f>
+            <f name="pos"></f>
+          </fs>
+        </f>
+      </fs>
+    </span>
+    <span id="s1" from="0" to="1">
+      <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+        <f name="lex">
+          <fs>
+            <f name="lemma">{</f>
+            <f name="pos"></f>
+          </fs>
+        </f>
+      </fs>
+    </span>
+    <span id="s2" from="2" to="5">
+      <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+        <f name="lex">
+          <fs>
+            <f name="lemma">sein</f>
+            <f name="pos">V</f>
+            <f name="msd">IND:PAST</f>
+          </fs>
+        </f>
+      </fs>
+    </span>
+    <span id="s3" from="6" to="19">
+      <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+        <f name="lex">
+          <fs>
+            <f name="lemma">lösch kandidat</f>
+            <f name="pos">N</f>
+          </fs>
+        </f>
+      </fs>
+    </span>
+    <span id="s4" from="19" to="20">
+      <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+        <f name="lex">
+          <fs>
+            <f name="lemma">|</f>
+            <f name="pos"></f>
+          </fs>
+        </f>
+      </fs>
+    </span>
+    <span id="s5" from="20" to="22">
+      <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+        <f name="lex">
+          <fs>
+            <f name="lemma">6.</f>
+            <f name="pos">NUM</f>
+            <f name="msd">ORD</f>
+          </fs>
+        </f>
+      </fs>
+    </span>
+    <span id="s6" from="23" to="27">
+      <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+        <f name="lex">
+          <fs>
+            <f name="lemma">juli</f>
+            <f name="pos">N</f>
+          </fs>
+        </f>
+      </fs>
+    </span>
+    <span id="s7" from="28" to="32">
+      <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+        <f name="lex">
+          <fs>
+            <f name="lemma">2007</f>
+            <f name="pos">NUM</f>
+          </fs>
+        </f>
+      </fs>
+    </span>
+    <span id="s8" from="32" to="33">
+      <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+        <f name="lex">
+          <fs>
+            <f name="lemma">|</f>
+            <f name="pos"></f>
+          </fs>
+        </f>
+      </fs>
+    </span>
+    <span id="s9" from="33" to="34">
+      <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+        <f name="lex">
+          <fs>
+            <f name="lemma">(</f>
+            <f name="pos"></f>
+          </fs>
+        </f>
+      </fs>
+    </span>
+    <span id="s10" from="34" to="37">
+      <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+        <f name="lex">
+          <fs>
+            <f name="lemma">erl</f>
+            <f name="pos">N</f>
+          </fs>
+        </f>
+      </fs>
+    </span>
+    <span id="s11" from="37" to="38">
+      <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+        <f name="lex">
+          <fs>
+            <f name="lemma">.</f>
+            <f name="pos"></f>
+          </fs>
+        </f>
+      </fs>
+    </span>
+    <span id="s12" from="38" to="39">
+      <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+        <f name="lex">
+          <fs>
+            <f name="lemma">,</f>
+            <f name="pos"></f>
+          </fs>
+        </f>
+      </fs>
+    </span>
+    <span id="s13" from="40" to="46">
+      <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+        <f name="lex">
+          <fs>
+            <f name="lemma">bleiben</f>
+            <f name="pos">V</f>
+            <f name="msd">IND:PRES</f>
+          </fs>
+        </f>
+      </fs>
+    </span>
+    <span id="s14" from="46" to="47">
+      <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+        <f name="lex">
+          <fs>
+            <f name="lemma">)</f>
+            <f name="pos"></f>
+          </fs>
+        </f>
+      </fs>
+    </span>
+    <span id="s15" from="47" to="48">
+      <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+        <f name="lex">
+          <fs>
+            <f name="lemma">}</f>
+            <f name="pos"></f>
+          </fs>
+        </f>
+      </fs>
+    </span>
+    <span id="s16" from="48" to="49">
+      <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0">
+        <f name="lex">
+          <fs>
+            <f name="lemma">}</f>
+            <f name="pos"></f>
+          </fs>
+        </f>
+      </fs>
+    </span>
+  </spanList>
+</layer>
diff --git a/t/WDD/G27/38989/connexor/phrase.xml b/t/WDD/G27/38989/connexor/phrase.xml
new file mode 100644
index 0000000..193aea9
--- /dev/null
+++ b/t/WDD/G27/38989/connexor/phrase.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-model href="span.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
+
+<layer xmlns="http://ids-mannheim.de/ns/KorAP" version="KorAP-0.4" docid="WDD11_G27.38989">
+  <spanList>
+    <span from="6" to="19">
+      <fs xmlns="http://www.tei-c.org/ns/1.0" type="node">
+        <f name="pos">np</f>
+      </fs>
+    </span>
+    <span from="20" to="27">
+      <fs xmlns="http://www.tei-c.org/ns/1.0" type="node">
+        <f name="pos">np</f>
+      </fs>
+    </span>
+    <span from="34" to="37">
+      <fs xmlns="http://www.tei-c.org/ns/1.0" type="node">
+        <f name="pos">np</f>
+      </fs>
+    </span>
+  </spanList>
+</layer>
diff --git a/t/WDD/G27/38989/connexor/sentences.xml b/t/WDD/G27/38989/connexor/sentences.xml
new file mode 100644
index 0000000..b2e693a
--- /dev/null
+++ b/t/WDD/G27/38989/connexor/sentences.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-model href="span.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
+
+<layer xmlns="http://ids-mannheim.de/ns/KorAP" version="KorAP-0.4" docid="WDD11_G27.38989">
+  <spanList>
+    <span from="0" to="49" />
+  </spanList>
+</layer>
diff --git a/t/WDD/G27/38989/connexor/syntax.xml b/t/WDD/G27/38989/connexor/syntax.xml
new file mode 100644
index 0000000..9c1a355
--- /dev/null
+++ b/t/WDD/G27/38989/connexor/syntax.xml
@@ -0,0 +1,177 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-model href="span.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
+
+<layer xmlns="http://ids-mannheim.de/ns/KorAP" version="KorAP-0.4" docid="WDD11_G27.38989">
+  <spanList>
+    <span id="s0" from="0" to="1">
+      <fs xmlns="http://www.tei-c.org/ns/1.0" type="lex">
+        <f name="lex">
+          <fs>
+            <f name="lemma">{</f>
+            <f name="pos"></f>
+          </fs>
+        </f>
+      </fs>
+    </span>
+    <span id="s1" from="0" to="1">
+      <fs xmlns="http://www.tei-c.org/ns/1.0" type="lex">
+        <f name="lex">
+          <fs>
+            <f name="lemma">{</f>
+            <f name="pos"></f>
+          </fs>
+        </f>
+      </fs>
+    </span>
+    <span id="s2" from="2" to="5">
+      <fs xmlns="http://www.tei-c.org/ns/1.0" type="lex">
+        <f name="lex">
+          <fs>
+            <f name="lemma">sein</f>
+            <f name="pos">@MAIN</f>
+          </fs>
+        </f>
+      </fs>
+    </span>
+    <span id="s3" from="6" to="19">
+      <fs xmlns="http://www.tei-c.org/ns/1.0" type="lex">
+        <f name="lex">
+          <fs>
+            <f name="lemma">lösch kandidat</f>
+            <f name="pos">@NH</f>
+          </fs>
+        </f>
+      </fs>
+    </span>
+    <span id="s4" from="19" to="20">
+      <fs xmlns="http://www.tei-c.org/ns/1.0" type="lex">
+        <f name="lex">
+          <fs>
+            <f name="lemma">|</f>
+            <f name="pos"></f>
+          </fs>
+        </f>
+      </fs>
+    </span>
+    <span id="s5" from="20" to="22">
+      <fs xmlns="http://www.tei-c.org/ns/1.0" type="lex">
+        <f name="lex">
+          <fs>
+            <f name="lemma">6.</f>
+            <f name="pos">@PREMOD</f>
+          </fs>
+        </f>
+      </fs>
+    </span>
+    <span id="s6" from="23" to="27">
+      <fs xmlns="http://www.tei-c.org/ns/1.0" type="lex">
+        <f name="lex">
+          <fs>
+            <f name="lemma">juli</f>
+            <f name="pos">@NH</f>
+          </fs>
+        </f>
+      </fs>
+    </span>
+    <span id="s7" from="28" to="32">
+      <fs xmlns="http://www.tei-c.org/ns/1.0" type="lex">
+        <f name="lex">
+          <fs>
+            <f name="lemma">2007</f>
+            <f name="pos">@NH</f>
+          </fs>
+        </f>
+      </fs>
+    </span>
+    <span id="s8" from="32" to="33">
+      <fs xmlns="http://www.tei-c.org/ns/1.0" type="lex">
+        <f name="lex">
+          <fs>
+            <f name="lemma">|</f>
+            <f name="pos"></f>
+          </fs>
+        </f>
+      </fs>
+    </span>
+    <span id="s9" from="33" to="34">
+      <fs xmlns="http://www.tei-c.org/ns/1.0" type="lex">
+        <f name="lex">
+          <fs>
+            <f name="lemma">(</f>
+            <f name="pos"></f>
+          </fs>
+        </f>
+      </fs>
+    </span>
+    <span id="s10" from="34" to="37">
+      <fs xmlns="http://www.tei-c.org/ns/1.0" type="lex">
+        <f name="lex">
+          <fs>
+            <f name="lemma">erl</f>
+            <f name="pos">@NH</f>
+          </fs>
+        </f>
+      </fs>
+    </span>
+    <span id="s11" from="37" to="38">
+      <fs xmlns="http://www.tei-c.org/ns/1.0" type="lex">
+        <f name="lex">
+          <fs>
+            <f name="lemma">.</f>
+            <f name="pos"></f>
+          </fs>
+        </f>
+      </fs>
+    </span>
+    <span id="s12" from="38" to="39">
+      <fs xmlns="http://www.tei-c.org/ns/1.0" type="lex">
+        <f name="lex">
+          <fs>
+            <f name="lemma">,</f>
+            <f name="pos"></f>
+          </fs>
+        </f>
+      </fs>
+    </span>
+    <span id="s13" from="40" to="46">
+      <fs xmlns="http://www.tei-c.org/ns/1.0" type="lex">
+        <f name="lex">
+          <fs>
+            <f name="lemma">bleiben</f>
+            <f name="pos">@MAIN</f>
+          </fs>
+        </f>
+      </fs>
+    </span>
+    <span id="s14" from="46" to="47">
+      <fs xmlns="http://www.tei-c.org/ns/1.0" type="lex">
+        <f name="lex">
+          <fs>
+            <f name="lemma">)</f>
+            <f name="pos"></f>
+          </fs>
+        </f>
+      </fs>
+    </span>
+    <span id="s15" from="47" to="48">
+      <fs xmlns="http://www.tei-c.org/ns/1.0" type="lex">
+        <f name="lex">
+          <fs>
+            <f name="lemma">}</f>
+            <f name="pos"></f>
+          </fs>
+        </f>
+      </fs>
+    </span>
+    <span id="s16" from="48" to="49">
+      <fs xmlns="http://www.tei-c.org/ns/1.0" type="lex">
+        <f name="lex">
+          <fs>
+            <f name="lemma">}</f>
+            <f name="pos"></f>
+          </fs>
+        </f>
+      </fs>
+    </span>
+  </spanList>
+</layer>
diff --git a/t/WDD/G27/38989/connexor/tokens.xml b/t/WDD/G27/38989/connexor/tokens.xml
new file mode 100644
index 0000000..c10ea12
--- /dev/null
+++ b/t/WDD/G27/38989/connexor/tokens.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-model href="span.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
+
+<layer xmlns="http://ids-mannheim.de/ns/KorAP" version="KorAP-0.4" docid="WDD11_G27.38989">
+  <spanList>
+    <span id="t_0" from="0" to="1" />
+    <span id="t_1" from="0" to="1" />
+    <span id="t_2" from="2" to="5" />
+    <span id="t_3" from="6" to="19" />
+    <span id="t_4" from="19" to="20" />
+    <span id="t_5" from="20" to="22" />
+    <span id="t_6" from="23" to="27" />
+    <span id="t_7" from="28" to="32" />
+    <span id="t_8" from="32" to="33" />
+    <span id="t_9" from="33" to="34" />
+    <span id="t_10" from="34" to="37" />
+    <span id="t_11" from="37" to="38" />
+    <span id="t_12" from="38" to="39" />
+    <span id="t_13" from="40" to="46" />
+    <span id="t_14" from="46" to="47" />
+    <span id="t_15" from="47" to="48" />
+    <span id="t_16" from="48" to="49" />
+  </spanList>
+</layer>