DocBook-XML and webhelp

自闭症网瘾萝莉.ら 提交于 2019-12-05 12:05:40

Based on the stack trace, it seems you are using Xalan for xsl transformation. It is recommended to use Saxon 6.5.5 with Webhelp which too is a Java impl. You can point to Saxon by setting xslt-processor-classpath in build.properties to the location of your saxon jar. In the meanwhile, you should also set xercesImpl.jar and xml-apis.jar properties.

Modify the following in the webhelp build.properties so that they point to your local copy of the jars indicated:

  • Saxon 6.5 jar
  • Xerces 2: xercesImpl.jar
  • xml-commons: xml-apis.jar

    xslt-processor-classpath=/usr/share/java/saxon-6.5.5.jar

    xercesImpl.jar=/usr/share/java/xercesImpl.jar

    xml-apis.jar=/usr/share/java/xml-apis.jar

Very important

build.properties

xslt-processor-classpath=d:\\apps\\saxon\\saxon.jar
xercesImpl.jar=d:\\apps\\xerces\\xercesImpl.jar;d:\\apps\\saxon\\saxon.jar
xml-apis.jar=d:\\apps\\xerces\\xml-apis.jar

The line starting xercesImpl... needs an additional reference to saxon.jar to work also with larger xml input files.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!