You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2002/11/22 16:43:44 UTC
DO NOT REPLY [Bug 14773] New: -
test harness fails on JDK 1.4 on Windows with unresolved org.w3c.tidy.Tidy
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14773>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14773
test harness fails on JDK 1.4 on Windows with unresolved org.w3c.tidy.Tidy
Summary: test harness fails on JDK 1.4 on Windows with unresolved
org.w3c.tidy.Tidy
Product: XalanJ2
Version: 2.4
Platform: Other
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: org.apache.xalan
AssignedTo: xalan-dev@xml.apache.org
ReportedBy: mcnamara@ca.ibm.com
I receive the following error when I try to run any of the test targets on
Windows when using JDK 1.4.
For example,
build smoketest
In smoketest\results-conf.xml, the following error is reported:
StylesheetTestlet{trax} attribset17.xsl(null)
warning;org.xml.sax.SAXParseException: Attribute name "CHECKED" must
be followed by the ' = ' character.
XHTFileCheckService threw: java.lang.NoClassDefFoundError: org/w3c/tidy/Tidy
java.lang.NoClassDefFoundError: org/w3c/tidy/Tidy
at org.apache.qetest.xsl.XHTComparator.parse(XHTComparator.java:733)
at org.apache.qetest.xsl.XHTComparator.compare(XHTComparator.java:226)
at org.apache.qetest.xsl.XHTFileCheckService.check
(XHTFileCheckService.java:203)
at org.apache.qetest.xsl.XHTFileCheckService.check
(XHTFileCheckService.java:318)
at org.apache.qetest.xsl.StylesheetTestlet.checkDatalet
(StylesheetTestlet.java:286)
at org.apache.qetest.xsl.StylesheetTestlet.execute
(StylesheetTestlet.java:146)
at org.apache.qetest.xsl.StylesheetTestletDriver.processFileList
(StylesheetTestletDriver.java:431)
at org.apache.qetest.xsl.StylesheetTestletDriver.processInputDir
(StylesheetTestletDriver.java:387)
at org.apache.qetest.xsl.StylesheetTestletDriver.runTestCases
(StylesheetTestletDriver.java:276)
at org.apache.qetest.TestImpl.runTest(TestImpl.java:241)
at org.apache.qetest.FileBasedTest.doMain(FileBasedTest.java:873)
at org.apache.qetest.xsl.StylesheetTestletDriver.main
(StylesheetTestletDriver.java:841)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:61)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:40)
at java.lang.reflect.Method.invoke(Method.java:335)
at org.apache.qetest.QetestUtils.main(QetestUtils.java:384)
XHTFileCheckService files were not equal
In my environment, I have the JARDIR environment value set to a
directory where I've placed all the required jars. When the JARDIR value
is set, the build.bat file will set up a value called _CLASSPATH and then
use that value when invoking ant.
The problem is fixed in we add %JARDIR%\Tidy.jar to the _CLASSPATH value
in build.bat.
I'll submit a patch for this problem.