Docbook-XML, Webhelp and XSLT / Xalan error -
processing xml test file of 11907 lines total 325.050 bytes.
d:\projekte\dashboard>ant webhelp buildfile: d:\projekte\dashboard\build.xml validate: clean: [delete] deleting directory d:\projekte\dashboard\docs chunk: [mkdir] created dir: d:\projekte\dashboard\docs [xslt] processing d:\projekte\dashboard\dashboard.xml d:\projekte\dashboard\docs\null1967716666 [xslt] loading stylesheet d:\apps\docbook-xsl-1.78.1\profiling\profile.xsl [xslt] warning: org.apache.xerces.jaxp.saxparserimpl$jaxpsaxparser: property 'http://javax.xml.xmlconstants/property/accessexternaldtd' not recognized. [xslt] warning: org.apache.xerces.jaxp.saxparserimpl$jaxpsaxparser: property 'http://www.oracle.com/xml/jaxp/properties/entityexpansionlimit' not recognized. [xslt] warning: org.apache.xerces.jaxp.saxparserimpl$jaxpsaxparser: property 'http://javax.xml.xmlconstants/property/accessexternaldtd' not recognized. [xslt] warning: org.apache.xerces.jaxp.saxparserimpl$jaxpsaxparser: property 'http://www.oracle.com/xml/jaxp/properties/entityexpansionlimit' not recognized. [xslt] warning: org.apache.xerces.jaxp.saxparserimpl$jaxpsaxparser: property 'http://javax.xml.xmlconstants/property/accessexternaldtd' not recognized. [xslt] warning: org.apache.xerces.jaxp.saxparserimpl$jaxpsaxparser: property 'http://www.oracle.com/xml/jaxp/properties/entityexpansionlimit' not recognized. [xslt] : error! keine weiteren dtm-ids verfügbar [xslt] failed process d:\projekte\dashboard\dashboard.xml
after googling found:
er_no_dtmids_avail, "keine weiteren dtm-ids verf\u00fcgbar"},
which leads me http://xml.apache.org/xalan-j/faq.html#faq-n10340 trying determine version of xalan used http://xml.apache.org/xalan-j/faq.html#environmentcheck doesn't work me.
after googling again found:
java com.sun.org.apache.xalan.internal.xslt.environmentcheck
#---- begin writeenvironmentreport($revision: 1.10 $): useful stuff found: ---- java.version=1.8.0 version.xalan2x=not-present version.jaxp=1.4 java.ext.dirs=c:\program files\java\jre8\lib\ext;c:\windows\sun\java\lib\ext version.sax=2.0 version.crimson=not-present java.class.path=. version.ant=not-present sun.boot.class.path=c:\program files\java\jre8\lib\resources.jar;c:\program files\java\jre8\lib\rt.jar;c:\program files\java\jre8\lib\sunrsasign.jar;c:\program files\java\jre8\lib\jsse.jar;c:\program files\java\jre8\lib\jce.jar;c:\program files\java\jre8\lib\charsets.jar;c:\program files\java\jre8\lib\jfr.jar;c:\program files\java\jre8\classes version.dom=3.0 version.xalan1=not-present version.xalan2_2=xalan java 2.7.0 version.xerces2=xerces-j 2.7.1 version.xerces1=not-present #----- end writeenvironmentreport: useful properties found: ----- # yahoo! environment seems ok.
if reduce file size < 300k file gets processed.
where fault?
update 2014-03-23
i'm using build.properties file located in webhelp folder (d:\apps\docbook-xsl-1.78.1\webhelp)
... xslt-processor-classpath=d:\\apps\\saxon\\saxon.jar xercesimpl.jar=d:\\apps\\xerces-2_11_0\\xercesimpl.jar xml-apis.jar=d:\\apps\\xerces-2_11_0\\xml-apis.jar ...
this options should included <import file="d:\\apps\\docbook-xsl-1.78.1\\webhelp\\build.xml"/>
in build file use processing.
what have setup in build.properties use correct tools?
use version of xalan apache in preference version embedded in jdk. version in jdk old , buggy.
better still, use saxon...
Comments
Post a Comment