Not Able to invoke TCK Test Harness
I am not able to run TCK Test Harness. In the past i had JDK 1.3 and use to successfully open the TCK Test Harness window but recently i have installed JDK 1.6 and now i get an error window saying :
PARSING ERROR--exception:java.lang.RuntimeException: sax exception faliure making schema objorg.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'AllTests'. - Unable to instantiate parser Xerecs Parser
As i am new to java i cannot understand that what is causing the problem.
Br
Kumar
You are running the program from a JAR file I presume?If you are running a JAR file, go to command prompt and type java -versionthis should give you the JVM version.JDK is java development kit. Only required when developing java softwares.
Zsefva at 2007-7-12 19:47:50 >

Now i have 1.6 Development kit as well as latest runtime environment.
Earlier when it was working i had 1.3 SDK and same Runtime enviroment.
Continuing the problem.......
If i read the log file i see
org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'AllTests'
However the XSD file and the xml file is present in the same folder.
The Xml file goes like
<?xml version='1.0' encoding='utf-8'?>
<!-- Test list for framework -->
<AllTests title="JSR-226 TCK "
date="Date: 12-05-2004" version="1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="testsSchema.xsd">
......
......
.......
And testsSchema.xsd is present in the same folder. It has definition of "AllTests" element. Still i get the error that the parser is not able to find the declaration for element "AllTests".
This was working fine previously when i had JDK 1.3 . Now i have 1.6 and its not working.
Br
Kumar