Somehow fixed relation indexation and meta data parsing (consistent to the GDoc)
diff --git a/t/VDI/JAN/00001/data.xml b/t/VDI/JAN/00001/data.xml
new file mode 100644
index 0000000..21fd76f
--- /dev/null
+++ b/t/VDI/JAN/00001/data.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-model href="text.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
+
+<raw_text docid="VDI_JAN.00001" xmlns="http://ids-mannheim.de/ns/KorAP">
+  <metadata file="metadata.xml" />
+  <text>hui</text>
+</raw_text>
diff --git a/t/VDI/JAN/00001/header.xml b/t/VDI/JAN/00001/header.xml
new file mode 100644
index 0000000..a919407
--- /dev/null
+++ b/t/VDI/JAN/00001/header.xml
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<?xml-model href="header.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
+<!DOCTYPE idsCorpus PUBLIC "-//IDS//DTD IDS-XCES 1.0//EN" "http://corpora.ids-mannheim.de/idsxces1/DTD/ids.xcesdoc.dtd">
+<idsheader type="text" version="1.1">
+  <fileDesc>
+    <titleStmt>
+      <textsigle>VDI14/JAN.00001</textsigle>
+      <t.title assemblage="external">VDI14/JAN.00001 VDI nachrichten, 17.01.2014, S. 10; 10- Zz mit Zahl</t.title>
+    </titleStmt>
+    <publicationStmt>
+      <distributor></distributor>
+      <pubAddress></pubAddress>
+      <availability></availability>
+      <pubDate></pubDate>
+    </publicationStmt>
+    <sourceDesc>
+      <biblStruct>
+	<analytic>
+	  <h.title type="main">10- Zz mit Zahl</h.title>
+	  <h.author>Windhövel, Kerstin</h.author>
+	  <imprint>
+	  </imprint>
+	  <biblScope type="pp">S. 10</biblScope>
+	  <biblScope type="suppl"></biblScope>
+	  <biblScope type="suppltitle"></biblScope>
+	  <biblNote n="1">Id: 578453</biblNote>
+	</analytic>
+	<monogr>
+	  <h.title></h.title>
+	  <imprint>
+	    <pubDate type="year">2014</pubDate>
+	    <pubDate type="month">01</pubDate>
+	    <pubDate type="day">17</pubDate>
+	  </imprint>
+	  <biblScope type="issue">03</biblScope>
+	  <biblScope type="issueplace"></biblScope>
+	</monogr>
+      </biblStruct>
+      <reference type="complete" assemblage="regular">VDI14/JAN.00001 VDI nachrichten, 17.01.2014, S. 10; 10- Zz mit Zahl [Ausführliche Zitierung nicht verfügbar]</reference>
+      <reference type="short" assemblage="regular">VDI14/JAN.00001 VDI nachr., 17.01.2014, S. 10</reference>
+    </sourceDesc>
+  </fileDesc>
+  <encodingDesc>
+    <samplingDecl>
+    </samplingDecl>
+    <tagsDecl>
+      <tagUsage gi="p" occurs="2"></tagUsage>
+      <tagUsage gi="q" occurs="1"></tagUsage>
+      <tagUsage gi="s" occurs="3"></tagUsage>
+    </tagsDecl>
+  </encodingDesc>
+  <profileDesc>
+    <creation>
+      <creatdate>2014.01.17</creatdate>
+    </creation>
+    <textClass>
+      <catRef target="topic.Freizeit-Unterhaltung.Reisen" n="0.38" scheme="topic" />
+      <catRef target="topic.Politik.Ausland" n="0.14" scheme="topic" />
+      <h.keywords>
+	<keyterm></keyterm>
+      </h.keywords>
+    </textClass>
+    <textdesc>
+      <texttypeart></texttypeart>
+      <textdomain></textdomain>
+      <column></column>
+    </textdesc>
+  </profileDesc>
+</idsheader>
diff --git a/t/VDI/JAN/00001/text.txt b/t/VDI/JAN/00001/text.txt
new file mode 100644
index 0000000..0cb4652
--- /dev/null
+++ b/t/VDI/JAN/00001/text.txt
@@ -0,0 +1 @@
+hui
diff --git a/t/VDI/JAN/header.xml b/t/VDI/JAN/header.xml
new file mode 100644
index 0000000..ec1d7cb
--- /dev/null
+++ b/t/VDI/JAN/header.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<?xml-model href="header.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
+<!DOCTYPE idsCorpus PUBLIC "-//IDS//DTD IDS-XCES 1.0//EN" "http://corpora.ids-mannheim.de/idsxces1/DTD/ids.xcesdoc.dtd">
+<idsheader type="document" version="1.1">
+  <fileDesc>
+    <titleStmt>
+      <dokumentsigle>VDI14/JAN</dokumentsigle>
+      <d.title>VDI nachrichten, Januar 2014</d.title>
+    </titleStmt>
+    <publicationStmt>
+      <distributor></distributor>
+      <pubAddress></pubAddress>
+      <availability></availability>
+      <pubDate></pubDate>
+    </publicationStmt>
+    <sourceDesc>
+      <biblStruct>
+	<monogr>
+	  <h.title></h.title>
+	  <imprint>
+	  </imprint>
+	</monogr>
+      </biblStruct>
+    </sourceDesc>
+  </fileDesc>
+</idsheader>