This ticket will collect necessary modifications to run SOLR document creation with XSLT3.
net.sf.saxon.s9api.SaxonApiException:
Duplicate global variable/parameter declaration
(see line 5 of jar:file:/../lib/mycore-mods-2020.06.1-20210212.092246-43.jar!/xsl/mods-enhancer.xsl)
Lösung: <xsl:param name="ServletsBaseURL" select="''" /> gelöscht und ggf. in den aufrufenden Stylesheets ergänzt
net.sf.saxon.trans.XPathException:
Cannot find a 1-argument function named
Q{xalan://org.mycore.common.xml.MCRXMLFunctions}isWorldReadable()
net.sf.saxon.trans.XPathException:
Cannot find a 1-argument function named
Q{xalan://org.mycore.common.xml.MCRXMLFunctions}encodeURIPath()
Lösung: XSLT2 Funktion: fn:encode-for-uri()
net.sf.saxon.trans.XPathException:
Cannot find a 1-argument function named
Q{xalan://org.mycore.common.xml.MCRXMLFunctions}normalizeUnicode()
Lösung: XSLT2 Funktion: fn:normalize-unicode()
net.sf.saxon.trans.XPathException:
Cannot find a 1-argument function named
Q{xalan://org.mycore.mods.classification.MCRMODSClassificationSupport}getClassCategParentLink()
This ticket will collect necessary modifications to run SOLR document creation with XSLT3.
net.sf.saxon.s9api.SaxonApiException: Duplicate global variable/parameter declaration (see line 5 of jar:file:/../lib/mycore-mods-2020.06.1-20210212.092246-43.jar!/xsl/mods-enhancer.xsl)
Lösung: <xsl:param name="ServletsBaseURL" select="''" /> gelöscht und ggf. in den aufrufenden Stylesheets ergänzt
net.sf.saxon.trans.XPathException: Cannot find a 1-argument function named Q{xalan://org.mycore.common.xml.MCRXMLFunctions}isWorldReadable()
Lösung: neuer URI-Resolver: MCRSolrWorldReadableURIResolver
net.sf.saxon.trans.XPathException: Cannot find a 1-argument function named Q{xalan://org.mycore.common.xml.MCRXMLFunctions}encodeURIPath()
Lösung: XSLT2 Funktion: fn:encode-for-uri()
net.sf.saxon.trans.XPathException: Cannot find a 1-argument function named Q{xalan://org.mycore.common.xml.MCRXMLFunctions}normalizeUnicode()
Lösung: XSLT2 Funktion: fn:normalize-unicode()
net.sf.saxon.trans.XPathException: Cannot find a 1-argument function named Q{xalan://org.mycore.mods.classification.MCRMODSClassificationSupport}getClassCategParentLink()
Lösung: MyCoRe XSLT3-Funktion:
<xsl:when test="mcrmods:is-supported(.)">
<xsl:variable name="class" select="mcrmods:to-mycoreclass(., 'parent')" />
<xsl:for-each select="$class//category[position()=1 or position()=last()]">