updated for the new sample and its new bug
Change-Id: I78d908583e6127d8c9f425f73eba5da934bb2617
diff --git a/catalog.xml b/catalog.xml
index 9641d2f..4510339 100644
--- a/catalog.xml
+++ b/catalog.xml
@@ -16,7 +16,9 @@
<!-- Map any reference to a Relax NG schema which ends in a certain suffix to a Relax NG schema located relative to this XML catalog -->
- <uriSuffix uriSuffix="NKJP_text.rng" uri="test/resources/nkjp2korap_sample1/NKJP_text.rng"/>
+ <uriSuffix uriSuffix="NKJP_text.rng" uri="test/resources/nkjp2korap_sample3/NKJP_text.rng"/>
+<!-- note: this is an example really, there is no explicit reference there, any longer -->
+
<uriSuffix uriSuffix="header.rng" uri="KorAP_schemas/header.rng"/>
<uriSuffix uriSuffix="span.rng" uri="KorAP_schemas/span.rng"/>
<uriSuffix uriSuffix="text.rng" uri="KorAP_schemas/text.rng"/>
@@ -38,9 +40,11 @@
<uri name="NKJP_1M_header.xml" uri="test/resources/nkjp2korap_sample2/NKJP_1M_header.xml"/>
these two won't work for xi:include
-->
-<!-- <system systemId="file:/home/piotr/projects/NKJP2KorAP/test/resources/nkjp2korap_sample2/KOT/NKJP_1M_header.xml" uri="test/resources/nkjp2korap_sample2/NKJP_1M_header.xml"/>
-this one does work for inclusions, but it's too brutal
+<!--
+ <system systemId="file:/home/piotr/projects/NKJP2KorAP/test/resources/nkjp2korap_sample2/KOT/NKJP_1M_header.xml" uri="test/resources/nkjp2korap_sample2/NKJP_1M_header.xml"/>
+ this one does work for inclusions, but it's too brutal, because it needs an absolute path, so it's not transferrable;
+ see below for a better alternative
-->
- <systemSuffix systemIdSuffix="NKJP_1M_header.xml" uri="test/resources/nkjp2korap_sample2/NKJP_1M_header.xml"/>
+ <systemSuffix systemIdSuffix="NKJP_1M_header.xml" uri="test/resources/nkjp2korap_sample3/corpus_header.xml"/>
<!-- for inclusions of the main corpus header -->
</catalog>
\ No newline at end of file