Can't subclass ElementNode

Azly NACRO azly at
Thu Nov 18 04:07:57 GMT 1999


I've got a java.lang.IllegalAccessError when trying to subclass

java.lang.IllegalAccessError: try to access class
com/sun/xml/tree/ParentNode from class CapabilityElement
	at CapabilityElement.appendChild(
	at com.sun.xml.parser.Parser.maybeElement(
	at com.sun.xml.parser.Parser.content(
	at com.sun.xml.parser.Parser.maybeElement(
	at com.sun.xml.parser.Parser.parseInternal(
	at com.sun.xml.parser.Parser.parse(
	at XmlCapabilityAccessor.<init>(
	at Test.main(, Compiled Code)

I'm working with jbuilder3 using jdk1.2.
	java version "1.2"	
	Classic VM (build JDK-1.2-V, native threads)

I've recompile the sun xml package but I still have the same error.

Any ideas what I can do about this? It would be very inconvenient not to
be able to subclass ElementNode.

azly at
UQAM (Montreal)

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as: and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo at the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list