Remove reference to metadata.xml (Fixes #2)
Change-Id: I59111c99d1fa8daf529098fd0b743ee69cc4d7dc
diff --git a/Changes b/Changes
index a5624f6..2026f7f 100644
--- a/Changes
+++ b/Changes
@@ -1,3 +1,6 @@
+2.3.2 2022-03-22
+ - Do not reference metadata.xml
+
2.3.1 2022-01-14 Release
- Improve script handling of broken data
- Improve handling of unknown header types
diff --git a/lib/KorAP/XML/TEI/Data.pm b/lib/KorAP/XML/TEI/Data.pm
index 9d4b71c..deff2ab 100644
--- a/lib/KorAP/XML/TEI/Data.pm
+++ b/lib/KorAP/XML/TEI/Data.pm
@@ -64,8 +64,6 @@
sub _header {
my (undef, $text_id) = @_;
- # TODO:
- # Can 'metadata.xml' change or is it constant?
return <<"HEADER";
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="text.rng"
@@ -73,7 +71,6 @@
schematypens="http://relaxng.org/ns/structure/1.0"?>
<raw_text docid="$text_id"
xmlns="http://ids-mannheim.de/ns/KorAP">
- <metadata file="metadata.xml" />
HEADER
};
diff --git a/script/tei2korapxml b/script/tei2korapxml
index 7838bab..61de658 100755
--- a/script/tei2korapxml
+++ b/script/tei2korapxml
@@ -29,7 +29,7 @@
1;
};
-our $VERSION = '2.3.1';
+our $VERSION = '2.3.2';
our $VERSION_MSG = "\ntei2korapxml - v$VERSION\n";