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

[544 byte] By [Kumar-Sohonya] at [2007-11-27 8:05:19]
# 1
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 > top of Java-index,Java Essentials,New To Java...
# 2

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

Kumar-Sohonya at 2007-7-12 19:47:50 > top of Java-index,Java Essentials,New To Java...
# 3
try removing <!-- Test list for framework -->in the XML and see if it works. IF not maybe the parser has some problems or conflicts with 1.6 environment
Zsefva at 2007-7-12 19:47:50 > top of Java-index,Java Essentials,New To Java...
# 4
It is not working :(.Can u suggest any other change.BrKumar
Kumar-Sohonya at 2007-7-12 19:47:50 > top of Java-index,Java Essentials,New To Java...
# 5
Hmm... put back your xml line. Check if the AllTest tag is enclosed. Otherwise I do not know what is causing the problem of the element not being found...
Zsefva at 2007-7-12 19:47:50 > top of Java-index,Java Essentials,New To Java...