Support idno
Change-Id: I05ae12e6076a911d8f9c69b032afeb6fdb792d85
diff --git a/t/real/bzk_2.t b/t/real/bzk_2.t
index d250a7c..ea81cf4 100644
--- a/t/real/bzk_2.t
+++ b/t/real/bzk_2.t
@@ -51,7 +51,6 @@
is($meta->{K_text_class}->[1], 'ausland', 'Correct Text Class');
ok(!$meta->{K_text_class}->[2], 'Correct Text Class');
-
is($meta->{D_creation_date}, '19590219', 'Creation date');
is($meta->{S_availability}, 'ACA-NC-LC', 'License');
ok(!$meta->{pages}, 'Pages');
@@ -74,6 +73,9 @@
ok(!$meta->{T_doc_author}, 'Correct Doc author');
ok(!$meta->{A_doc_editor}, 'Correct doc editor');
+is($meta->{A_URN},'data:application/x.korap-link;title=urn%3Anbn%3Ade%3A101%3A1-2019012904515398173807,http%3A%2F%2Fnbn-resolving.de%2Furn%3Anbn%3Ade%3A101%3A1-2019012904515398173807');
+is($meta->{S_ISBN},'978-3-7325-6705-8');
+
# Tokenization
use_ok('KorAP::XML::Tokenizer');
diff --git a/t/real/corpus/BZK/D59/00089/header.xml b/t/real/corpus/BZK/D59/00089/header.xml
index b140a57..b51fb42 100644
--- a/t/real/corpus/BZK/D59/00089/header.xml
+++ b/t/real/corpus/BZK/D59/00089/header.xml
@@ -10,6 +10,11 @@
<publicationStmt>
<distributor/>
<pubAddress/>
+ <idno type="URN">urn:nbn:de:101:1-2019012904515398173807</idno>
+ <idno type="URL" rend="URN;urn:nbn:de:101:1-2019012904515398173807">http://nbn-resolving.de/urn:nbn:de:101:1-2019012904515398173807</idno>
+ <idno type="ISBN">978-3-7325-6705-8</idno>
+ <idno type="URL">http://d-nb.info/1176524615/34</idno>
+ <idno type="IDN">1176524615</idno>
<availability region="world">ACA-NC-LC</availability>
<pubDate/>
</publicationStmt>