Roland Stigge wrote:
Package: libxerces2-java
Version: 2.6.2-1
Severity: serious

Hi,

building the package libxerces2-java in a clean sid build environment
(with pbuilder) on i386 results in:

[...]

   [xjavac] Found 13 semantic errors and issued 5 warnings compiling 
"/tmp/buildd/libxerces2-java-2.6.2/build/src/org/apache/xerces/dom/NodeImpl.java":

   [xjavac]                               <-------
   [xjavac]    118. public abstract class NodeImpl
   [xjavac]    119.     implements Node, NodeList, EventTarget, Cloneable, 
Serializable{
   [xjavac]         
------------------------------------------------------------------>
   [xjavac] *** Semantic Error: The return type of method "org.apache.xerces.dom3.TypeInfo 
getSchemaTypeInfo();" does not match the return type of the accessible method "org.w3c.dom.TypeInfo 
getSchemaTypeInfo();" declared in type "org.w3c.dom.Element".

Hi all,

after some investigation this error is caused by the update of the
org.w3c.* classes in the free runtimes to DOM Level 3.

Its basically the same problem I struggled with during the process
of moving libxalan2-java and libpgjava to main.

There are two possiblities:

(1) Use JDK 1.4 to build as it has DOM Level 2

I think we all agree that this is NO option !

(2) Include DOM Level 2 source classes in the debian directory
and use the trick that source takes precedence over binary classes
from the runtime during compilation.

If no one has objections or another working approach I will prepare
a new upload for possibility 2.

Wolfgang




-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Reply via email to