You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello!
I'm fighting terribly with this plugin. Starting point:
From oXygen 22.1 I copied the DITA-OT3.x (this is DITA-OT 3.4x and Saxon 9.9.) folder and copied the official dependencies, as described per https://www.dita-ot.org/plugins#!org.dita-community.glossary.preprocess, so 2.0.1 from this plugin.
With that, I'm receiving this error:
[mapref] Static error near {...litWords($text, $lang, $deb...} in expression in xsl:variable/@select on line 407 column 103 of i18n-utils.xsl:
[mapref] XPST0017: Cannot find a 3-argument function named
[mapref] Q{http://org.dita-community/i18n/saxon-extensions}splitWords()
... -> the list continues.
After further digging, I found the feature-branch DITA-OT-3.4.
Following things are not working, despite the build guide given:
For building the maven resolver with ant install I receive the error: target does not exists.
So after giving up here, I downloaded the maven-resolver*jar from maven central.
When trying to ant package, a test and therefor the build fails:
[exec] testZhCnDictionary(org.ditacommunity.i18n.collation.TestZhCnAwareCollator) Time elapsed: 0.006 sec <<< ERROR!
[exec] java.lang.ExceptionInInitializerError
[exec] at org.ditacommunity.i18n.collation.TestZhCnAwareCollator.testZhCnDictionary(TestZhCnAwareCollator.java:45)
[exec] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[exec] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[exec] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[exec] at java.base/java.lang.reflect.Method.invoke(Method.java:566)
[exec] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
[exec] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
[exec] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
[exec] at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
[exec] at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
[exec] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
[exec] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
[exec] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
[exec] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
[exec] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
[exec] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
[exec] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
[exec] at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
[exec] at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
[exec] at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
[exec] at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
[exec] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[exec] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[exec] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[exec] at java.base/java.lang.reflect.Method.invoke(Method.java:566)
[exec] at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
[exec] at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
[exec] at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
[exec] at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
[exec] at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
[exec] Caused by: java.lang.RuntimeException: Failed to load zh-CN data set "resources/lookup-zh-cn.csv"
[exec] at org.ditacommunity.i18n.collation.ZhCnDictionary.loadDictionaryFromCSV(ZhCnDictionary.java:36)
[exec] at org.ditacommunity.i18n.collation.ZhCnDictionary.(ZhCnDictionary.java:29)
[exec] ... 30 more
[exec]
[exec]
[exec] Results :
[exec]
[exec] Tests in error:
[exec] testZhCnDictionary(org.ditacommunity.i18n.collation.TestZhCnAwareCollator)
[exec]
Since I'm getting a encoding warnings, maybe it is related to that.
On Linux, I'm receiving
[exec] [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
On Windows, it is
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
At the end, I just want to have a final build, which I can use platform independent.
Would you be so kind to have a look into that?
And since this is all a lot of hassle, would you please reconsider the deployment and deploy a direct "usable" platform independent version of this plugin?
Kind regards,
Andy
The text was updated successfully, but these errors were encountered:
Hello!
I'm fighting terribly with this plugin. Starting point:
From oXygen 22.1 I copied the DITA-OT3.x (this is DITA-OT 3.4x and Saxon 9.9.) folder and copied the official dependencies, as described per https://www.dita-ot.org/plugins#!org.dita-community.glossary.preprocess, so 2.0.1 from this plugin.
With that, I'm receiving this error:
[mapref] Static error near {...litWords($text, $lang, $deb...} in expression in xsl:variable/@select on line 407 column 103 of i18n-utils.xsl:
[mapref] XPST0017: Cannot find a 3-argument function named
[mapref] Q{http://org.dita-community/i18n/saxon-extensions}splitWords()
... -> the list continues.
After further digging, I found the feature-branch DITA-OT-3.4.
Following things are not working, despite the build guide given:
For building the maven resolver with
ant install
I receive the error:target does not exists
.So after giving up here, I downloaded the maven-resolver*jar from maven central.
When trying to
ant package
, a test and therefor the build fails:[exec] testZhCnDictionary(org.ditacommunity.i18n.collation.TestZhCnAwareCollator) Time elapsed: 0.006 sec <<< ERROR!
[exec] java.lang.ExceptionInInitializerError
[exec] at org.ditacommunity.i18n.collation.TestZhCnAwareCollator.testZhCnDictionary(TestZhCnAwareCollator.java:45)
[exec] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[exec] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[exec] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[exec] at java.base/java.lang.reflect.Method.invoke(Method.java:566)
[exec] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
[exec] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
[exec] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
[exec] at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
[exec] at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
[exec] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
[exec] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
[exec] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
[exec] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
[exec] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
[exec] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
[exec] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
[exec] at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
[exec] at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
[exec] at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
[exec] at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
[exec] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[exec] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[exec] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[exec] at java.base/java.lang.reflect.Method.invoke(Method.java:566)
[exec] at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
[exec] at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
[exec] at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
[exec] at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
[exec] at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
[exec] Caused by: java.lang.RuntimeException: Failed to load zh-CN data set "resources/lookup-zh-cn.csv"
[exec] at org.ditacommunity.i18n.collation.ZhCnDictionary.loadDictionaryFromCSV(ZhCnDictionary.java:36)
[exec] at org.ditacommunity.i18n.collation.ZhCnDictionary.(ZhCnDictionary.java:29)
[exec] ... 30 more
[exec]
[exec]
[exec] Results :
[exec]
[exec] Tests in error:
[exec] testZhCnDictionary(org.ditacommunity.i18n.collation.TestZhCnAwareCollator)
[exec]
Since I'm getting a encoding warnings, maybe it is related to that.
On Linux, I'm receiving
[exec] [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
On Windows, it is
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
At the end, I just want to have a final build, which I can use platform independent.
Would you be so kind to have a look into that?
And since this is all a lot of hassle, would you please reconsider the deployment and deploy a direct "usable" platform independent version of this plugin?
Kind regards,
Andy
The text was updated successfully, but these errors were encountered: