installation - compile errors trying to build Apache Xerces in java -
i trying build apaches xerxes 2.11.0 in java , running following compile errors:
[xjavac] c:\program files\java\libraries\xerces-2_11_0\build\src\org\apache\html\dom\htmlframeelementimpl.java:28: error: htmlframeelementimpl not abstract , not override abstract method getcontentdocument() in htmlframeelement [xjavac] public class htmlframeelementimpl [xjavac] ^ [xjavac] c:\program files\java\libraries\xerces-2_11_0\build\src\org\apache\html\dom\htmliframeelementimpl.java:28: error: htmliframeelementimpl not abstract , not override abstract method getcontentdocument() in htmliframeelement [xjavac] public class htmliframeelementimpl [xjavac] ^ [xjavac] c:\program files\java\libraries\xerces-2_11_0\build\src\org\apache\html\dom\htmlobjectelementimpl.java:28: error: htmlobjectelementimpl not abstract , not override abstract method getcontentdocument() in htmlobjectelement [xjavac] public class htmlobjectelementimpl [xjavac] ^
any thoughts on might missing or doing wrong, or better, there somewhere can download pre-compiled jar library? (the "binary distribution" available on downloads page seems documentation , samples.)
please see following link on issue of compilation: xercesj-1621 xerces2 doesn't build mac os 10.9 , jdk 1.7
the core idea :
the issue here xerces supports dom level 1 html specification only. jdk installed on system 1.7 has dom level 3 specification. newly added methods level 2 , level 3 specification in jdk 1.5 , onwards not implemented in xerces. 1 of options build code older version i.e jdk 1.4 etc or work around fix add dummy method implementations in source don't error's not implementing them.
Comments
Post a Comment