ec-jrc / datacite-to-dcat-ap

Repository for the DataCite profile of DCAT-AP
https://ec-jrc.github.io/datacite-to-dcat-ap/
European Union Public License 1.2
1 stars 2 forks source link

datacite-to-dcat-ap.xsl is incompatible with javax.xml.transform #7

Closed chenzongxiong closed 6 months ago

chenzongxiong commented 6 months ago

We use the xslt file from this repo. However, we find that it raise error, when load this file,

Do you have any idea?

piveau-consus-transforming-xslt-1  | net.sf.saxon.s9api.SaxonApiException: Errors were reported during stylesheet compilation
piveau-consus-transforming-xslt-1  |    at net.sf.saxon.s9api.XsltCompiler.compile(XsltCompiler.java:976)
piveau-consus-transforming-xslt-1  |    at net.sf.saxon.jaxp.SaxonTransformerFactory.newTemplates(SaxonTransformerFactory.java:155)
piveau-consus-transforming-xslt-1  |    at net.sf.saxon.jaxp.SaxonTransformerFactory.newTransformer(SaxonTransformerFactory.java:112)
piveau-consus-transforming-xslt-1  |    at io.piveau.transforming.xslt.XsltTransformingVerticle.lambda$getOrCreateTransformer$2(XsltTransformingVerticle.java:112)
piveau-consus-transforming-xslt-1  |    at io.vertx.core.impl.future.FutureImpl$1.onSuccess(FutureImpl.java:91)
piveau-consus-transforming-xslt-1  |    at io.vertx.core.impl.future.FutureImpl$ListenerArray.onSuccess(FutureImpl.java:262)
piveau-consus-transforming-xslt-1  |    at io.vertx.core.impl.future.FutureBase.emitSuccess(FutureBase.java:60)
piveau-consus-transforming-xslt-1  |    at io.vertx.core.impl.future.FutureImpl.tryComplete(FutureImpl.java:211)
piveau-consus-transforming-xslt-1  |    at io.vertx.core.impl.future.PromiseImpl.tryComplete(PromiseImpl.java:23)
piveau-consus-transforming-xslt-1  |    at io.vertx.core.impl.future.PromiseImpl.onSuccess(PromiseImpl.java:49)
piveau-consus-transforming-xslt-1  |    at io.vertx.core.impl.future.FutureBase.emitSuccess(FutureBase.java:60)
piveau-consus-transforming-xslt-1  |    at io.vertx.core.impl.future.FutureImpl.tryComplete(FutureImpl.java:211)
piveau-consus-transforming-xslt-1  |    at io.vertx.core.impl.future.Composition$1.onSuccess(Composition.java:62)
piveau-consus-transforming-xslt-1  |    at io.vertx.core.impl.future.FutureBase.emitSuccess(FutureBase.java:60)
piveau-consus-transforming-xslt-1  |    at io.vertx.core.impl.future.FutureImpl.tryComplete(FutureImpl.java:211)
piveau-consus-transforming-xslt-1  |    at io.vertx.core.impl.future.Mapping.onSuccess(Mapping.java:40)
piveau-consus-transforming-xslt-1  |    at io.vertx.core.impl.future.FutureBase.lambda$emitSuccess$0(FutureBase.java:54)
piveau-consus-transforming-xslt-1  |    at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:173)
piveau-consus-transforming-xslt-1  |    at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:166)
piveau-consus-transforming-xslt-1  |    at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470)
piveau-consus-transforming-xslt-1  |    at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:569)
piveau-consus-transforming-xslt-1  |    at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
piveau-consus-transforming-xslt-1  |    at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
piveau-consus-transforming-xslt-1  |    at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
piveau-consus-transforming-xslt-1  |    at java.base/java.lang.Thread.run(Thread.java:840)
piveau-consus-transforming-xslt-1  | Caused by: net.sf.saxon.trans.XPathException: Errors were reported during stylesheet compilation
piveau-consus-transforming-xslt-1  |    at net.sf.saxon.style.StylesheetModule.loadStylesheet(StylesheetModule.java:256)
piveau-consus-transforming-xslt-1  |    at net.sf.saxon.style.Compilation.compileSingletonPackage(Compilation.java:113)
piveau-consus-transforming-xslt-1  |    at net.sf.saxon.s9api.XsltCompiler.compile(XsltCompiler.java:971)
piveau-consus-transforming-xslt-1  |    ... 24 common frames omitted