W3C home > Mailing lists > Public > public-exi@w3.org > April 2011

RE: Error using the Interoperability Framework

From: FABLET Youenn <Youenn.Fablet@crf.canon.fr>
Date: Tue, 19 Apr 2011 08:50:34 +0200
To: "'public-exi@w3.org'" <public-exi@w3.org>
Message-ID: <52D873DC3403944C840CF3063ABE43A701AFCF9946@Nina.crf.canon.fr>
Hi all,

Here is the solution to the issue found by Alain.

First, it should be noted that the framework is not expected to work with JDK1.6 but JDK1.5.

If both JDK1.5 and JDK1.6 are installed on the same machine, the script may use either one or the other version for the compilation and execution. In Alain's case, JDK1.6 was used to compile the files, while JDK1.5 was used to do the execution.

It is thus important to check and correctly set the JAVA_HOME and PATH variables so that they point to JDK1.5.

Regards,
	Youenn

> -----Original Message-----
> From: public-exi-request@w3.org [mailto:public-exi-request@w3.org] On
> Behalf Of COUTHURES Alain
> Sent: Saturday, March 12, 2011 9:15 AM
> To: public-exi@w3.org
> Subject: Error using the Interoperability Framework
> 
> Hello,
> 
> I'm evaluating EXI for XForms and I would like to use the Interoperability
> Framework. Unfortunately, there is an error running the two ant commands
> with JDK 1.5.0_22:
> 
>      [javac]
> C:\www\telechargements\ttfms-interop-
> 28022011\framework\src\org\w3c\exi\ttf\DecodingValidator.java:38:
> cannot access org.apache.xml.serializer.ToXMLStream
>      [javac] bad class file:
> C:\www\telechargements\ttfms-interop-
> 28022011\framework\build\classes\org\apache\xml\serializer\ToXMLStream
> .class
>      [javac] class file has wrong version 50.0, should be 49.0
>      [javac] Please remove or make sure it appears in the correct subdirectory
> of the classpath.
>      [javac] import org.apache.xml.serializer.ToXMLStream;
> 
> I tested also with JDK 1.6.0_23:
> 
>      [javac]
> C:\www\telechargements\ttfms-interop-
> 28022011\framework\src\org\w3c\exi\ttf\DecodingValidator.java:2493:
> cannot find symbol
>      [javac] symbol  : method getTypeName()
>      [javac] location: interface
> com.sun.org.apache.xerces.internal.xs.XSTypeDefinition
>      [javac]         return ((base == null) ? "none" : base.getTypeName());
> 
> Any clue?
> 
> Thanks!
> 
> Alain Couthures
> agenceXML
> http://www.agencexml.com
> 
Received on Tuesday, 19 April 2011 06:51:13 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:47:15 UTC