Skip Navigation

Sign up

If you sign up for an account on this web site you can customise elements of this site and subscribe to an email newsletter.

If you have an account on this web site you may login.

If you have an account on this site but have forgotten your user name and / or your password then you can request an account reminder email.

Build notes for FC4

This document is a series of working notes about building MKSearch on Fedora Core 4, using the GNU Compiler for Java (GCJ) version 4.0. It may be removed or superseded.

Introduction

The MKSearch system was developed using GCJ versions 3.3.3 and 3.3.4, which did not include the Java API for XML Processing (JAXP). A pure-Java sub-set of the GNU JAXP classes were imported and built separately as part of the (free) build scheme for the project.

GCJ 4.0 now includes a later version of GNU JAXP, which raises some warnings and abstract class compilation failures for MKSearch. These notes record the main changes, so that a workaround can be created to work with Fedora Core 4.0 and also be backward-compatible with FC 3 and other platforms.

Deprecation warnings

Non-critical errors compiling the earlier version of GNU JAXP.

javax.xml.parsers.SAXParser

Multiple warnings that the following classes are deprecated:

  • org.xml.sax.HandlerBase
  • org.xml.sax.Parser
  • org.xml.sax.AttributeList
  • org.xml.sax.DocumentHandler
gnu.xml.aelfred2.JAXPFactory
Single warning that org.xml.sax.Parser has been deprecated.
gnu.xml.aelfred2.SAXDriver
Single warning that org.xml.sax.AttributeList has been deprecated.

Abstract class compilation errors

Critical compilation problems for JTidy.

org.w3c.tidy.DOMTextImpl

This class is declared to implement the interface org.w3c.dom.Text, but several (new) methods are not implemented:

  • isElementContentWhitespace()
  • getWholeText()
  • replaceWholeText(java.lang.String)
  • getBaseURI()
  • compareDocumentPosition(org.w3c.dom.Node)
  • getTextContent()
  • setTextContent(java.lang.String)
  • isSameNode(org.w3c.dom.Node)
  • lookupPrefix(java.lang.String)
  • isDefaultNamespace(java.lang.String)
  • lookupNamespaceURI(java.lang.String)
  • isEqualNode(org.w3c.dom.Node)
  • getFeature(java.lang.String,java.lang.String)
  • setUserData(java.lang.String,java.lang.Object,org.w3c.dom.UserDataHandler)
  • getUserData(java.lang.String)
org.w3c.tidy.DOMProcessingInstructionImpl

This class is declared to implement the interface org.w3c.dom.ProcessingInstruction, but several (new) methods are not implemented:

  • getBaseURI()
  • compareDocumentPosition(org.w3c.dom.Node)
  • getTextContent()
  • setTextContent(java.lang.String)
  • isSameNode(org.w3c.dom.Node)
  • lookupPrefix(java.lang.String)
  • isDefaultNamespace(java.lang.String)
  • lookupNamespaceURI(java.lang.String)
  • isEqualNode(org.w3c.dom.Node)
  • getFeature(java.lang.String,java.lang.String)
  • setUserData(java.lang.String,java.lang.Object,org.w3c.dom.UserDataHandler)
  • getUserData(java.lang.String)
org.w3c.tidy.DOMNodeImpl

This class is declared to implement the interface org.w3c.dom.Node, but several (new) methods are not implemented:

  • getBaseURI()
  • compareDocumentPosition(org.w3c.dom.Node)
  • getTextContent()
  • setTextContent(java.lang.String)
  • isSameNode(org.w3c.dom.Node)
  • lookupPrefix(java.lang.String)
  • isDefaultNamespace(java.lang.String)
  • lookupNamespaceURI(java.lang.String)
  • isEqualNode(org.w3c.dom.Node)
  • getFeature(java.lang.String,java.lang.String)
  • setUserData(java.lang.String,java.lang.Object,org.w3c.dom.UserDataHandler)
  • getUserData(java.lang.String)
org.w3c.tidy.DOMElementImpl

This class is declared to implement the interface org.w3c.dom.Element, but several (new) methods are not implemented:

  • getSchemaTypeInfo()
  • setIdAttribute(java.lang.String,boolean)
  • setIdAttributeNS(java.lang.String,java.lang.String,boolean)
  • setIdAttributeNode(org.w3c.dom.Attr,boolean)
  • getBaseURI()
  • compareDocumentPosition(org.w3c.dom.Node)
  • getTextContent()
  • setTextContent(java.lang.String)
  • isSameNode(org.w3c.dom.Node)
  • lookupPrefix(java.lang.String)
  • isDefaultNamespace(java.lang.String)
  • lookupNamespaceURI(java.lang.String)
  • isEqualNode(org.w3c.dom.Node)
  • getFeature(java.lang.String,java.lang.String)
  • setUserData(java.lang.String,java.lang.Object,org.w3c.dom.UserDataHandler)
  • getUserData(java.lang.String)
org.w3c.tidy.DOMDocumentTypeImpl

This class is declared to implement the interface org.w3c.dom.DocumentType, but several (new) methods are not implemented:

  • getBaseURI()
  • compareDocumentPosition(org.w3c.dom.Node)
  • getTextContent()
  • setTextContent(java.lang.String)
  • isSameNode(org.w3c.dom.Node)
  • lookupPrefix(java.lang.String)
  • isDefaultNamespace(java.lang.String)
  • lookupNamespaceURI(java.lang.String)
  • isEqualNode(org.w3c.dom.Node)
  • getFeature(java.lang.String,java.lang.String)
  • setUserData(java.lang.String,java.lang.Object,org.w3c.dom.UserDataHandler)
  • getUserData(java.lang.String)
  • getInputEncoding()
  • getXmlEncoding()
  • getXmlStandalone()
  • setXmlStandalone(boolean)
  • getXmlVersion()
  • setXmlVersion(java.lang.String)
  • getStrictErrorChecking()

Up

This document was last modified by Philip Shaw on 2005-08-26 03:36:10
Copyright MKDoc Ltd. and others.
The Free Documentation License http://www.gnu.org/copyleft/fdl.html