Skip to content

Commit

Permalink
#268 improved error message restored original xsl file
Browse files Browse the repository at this point in the history
  • Loading branch information
GordeaS authored and GordeaS committed Jul 9, 2020
1 parent 443a621 commit e42f42c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ protected void init() {
} catch (TransformerConfigurationException e) {
// logger.error("Error ", e);
throw new AnnotationDereferenciationException(
"Exception occured when invoking the MetisDereferenciationClient convertDereferenceOutputToJsonLd method",
"Cannot instantiate XSLT Transformer",
e);
}
}
Expand Down
5 changes: 0 additions & 5 deletions annotation-dereferenciation/src/main/resources/deref2json.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:lib="http://example.org/lib"
xmlns:xs="http://www.w3.org/2001/XMLSchema"

xmlns:metis="http://www.europeana.eu/schemas/metis"
xmlns:edm="http://www.europeana.eu/schemas/edm/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
Expand Down Expand Up @@ -44,10 +43,6 @@
<xsl:with-param name="prop" select="skos:prefLabel[lib:isAcceptableLang(@xml:lang)]"/>
<xsl:with-param name="name">prefLabel</xsl:with-param>
</xsl:call-template>
<xsl:call-template name="array">
<xsl:with-param name="prop" select="rdaGr2:dateOfBirth"/>
<xsl:with-param name="name">dateOfBirth</xsl:with-param>
</xsl:call-template>
<xsl:call-template name="array">
<xsl:with-param name="prop" select="edm:begin"/>
<xsl:with-param name="name">begin</xsl:with-param>
Expand Down

0 comments on commit e42f42c

Please sign in to comment.