Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ test/*.usx
# build artifacts
/target
/public
/.project
/.settings
*.xsl.sef
*.xsef
/test.sh
Expand Down
7 changes: 7 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<antcall target="test-xsl-pagexml-pagecontent2tei.xsl"/>
<antcall target="test-xsl-usx-usx2tei.xsl"/>
<antcall target="test-xsl-usx-usx2tei-char-sigla.xsl"/>
<antcall target="test-xsl-rdf-viaf.xsl"/>
</target>

<target name="test-xsl-pagexml-pagecontent2tei.xsl">
Expand All @@ -42,4 +43,10 @@
</antcall>
</target>

<target name="test-xsl-rdf-viaf.xsl">
<antcall target="xspec.xspec" inheritall="false">
<param name="xspec.xml" location="${basedir}/xsl/rdf/viaf.xspec"/>
</antcall>
</target>

</project>
19 changes: 18 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@

<!-- Tool Versions -->
<ph.schematron.version>5.6.4</ph.schematron.version>
<saxon.version>10.9</saxon.version>
<saxon.version>12.5</saxon.version>
<xmlresolver.version>4.5.1</xmlresolver.version>
<oxygen.version>24.1.0.0</oxygen.version>
<jing.version>20091111</jing.version>
Expand All @@ -82,6 +82,22 @@
</properties>

<dependencies>
<dependency>
<groupId>org.expath.http.client</groupId>
<artifactId>http-client-saxon</artifactId>
<version>1.5.2</version>
</dependency>
<dependency>
<groupId>org.expath.http.client</groupId>
<artifactId>http-client-java</artifactId>
<version>1.5.2</version>
</dependency>
<dependency>
<groupId>org.expath.packaging</groupId>
<artifactId>pkg-saxon</artifactId>
<version>2.1.1</version>
</dependency>

<!-- Frontend -->
<!--dependency>
<groupId>de.wwu.scdh.seed</groupId>
Expand Down Expand Up @@ -138,6 +154,7 @@
<groupId>org.apache.jena</groupId>
<artifactId>jena-cmds</artifactId>
<version>${jena.version}</version>
<scope>test</scope>
</dependency>

</dependencies>
Expand Down
4 changes: 4 additions & 0 deletions saxon-local.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ http://www.saxonica.com/documentation/index/configuration-file.html
-->
<configuration edition="HE" xmlns="http://saxon.sf.net/ns/configuration">

<resources>
<extensionFunction>org.expath.httpclient.saxon.SendRequestFunction</extensionFunction>
</resources>

<xsltPackages>
<package
name="https://scdh.zivgitlabpages.uni-muenster.de/tei-processing/x2tei-transformations/xsl/docx/docx2tei.xsl"
Expand Down
765 changes: 765 additions & 0 deletions test/samples/rdf/viaf-Ibn-Nubatah.xml

Large diffs are not rendered by default.

308 changes: 308 additions & 0 deletions test/samples/rdf/viaf-Kerala.xml

Large diffs are not rendered by default.

25 changes: 25 additions & 0 deletions test/samples/rdf/viaf-config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- a configuration suitable for arabic studies -->
<config>
<files>
<file match="(^http://data.bnf.fr/ark:)(.*)" base="$1" id="$2"/>
<file match="(^http://d-nb.info/gnd/)(.*)" base="$1" id="$2"/>
<file match="(^http://isni.org/isni/)(.*)" base="$1" id="$2"/>
<file match="(^http://id.loc.gov/authorities/names/)(.*)" base="$1" id="$2"/>
<file match="(^http://www.idref.fr/)(([^/]*)(/id)$)" base="$1" id="$2"/>
<file match="(^http://www.wikidata.org/entity/)(.*)" base="$1" id="$2"/>
</files>
<prefLabel xml:lang="ar">
<scheme>http://viaf.org/authorityScheme/LNL</scheme>
<scheme>http://viaf.org/authorityScheme/EGAXA</scheme>
<scheme>http://viaf.org/authorityScheme/UAE</scheme>
<scheme>http://viaf.org/authorityScheme/J9U</scheme>
</prefLabel>
<prefLabel xml:lang="ar-Latn" type="dmg">
<scheme>http://viaf.org/authorityScheme/DNB</scheme>
<scheme>http://viaf.org/authorityScheme/BNF</scheme>
</prefLabel>
<prefLabel xml:lang="ar-Latn" type="loc">
<scheme>http://viaf.org/authorityScheme/LC</scheme>
</prefLabel>
</config>
Loading
Loading