[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Can't subclass ElementNode in applet

  • From: "Rajiv Mordani [CONTRACTOR]" <mode@n...>
  • To: xml-dev@i...
  • Date: Fri, 7 May 1999 15:08:52 -0800 (PDT)

steve demuth
Hi Steve,
	This error occurs when you use jdk1.1.x. Try using jdk1.2. This
problem doesn't occur with jdk1.2. If you have any more problems please do
let me know.

- Rajiv

> 
> I've got an application which subclasses ElementNode with, for example, a
> class com.artemisalliance.xml.ModelNode.  ModelNode implements some methods
> which wrap various features of the Node interface.
> 
> This works fine when I have the com.sun.xml package exploded into my class
> path for the IDE, but if I try to run it with the package in the jar,
> either in the ide or in a browser, I get an IllegalAccessError:
> 
> java.lang.IllegalAccessError: try to access class
> com/sun/xml/tree/ParentNode from class com/artemisalliance/xml/client/ModelNode
> 
> I've got three questions:
> 
> 1) Why is ParentNode not a public class?
> 
> 2) Why does the JVM throw this only when the package is jar'd?
> 
> 3) Any ideas what I can do about this?  It would be very inconvenient not
> to be able to subclass ElementNode.
> 
> TIA
> 
> 
> Steve Demuth
> 
> Artemis Alliance, Inc.          An Inprise Premier Partner
> 289 East Fifth St, Suite 211       
> St. Paul, MN 55101              sdemuth@a... 
> 651-227-7172 or 319-382-0593           
> 
> 
> 
> xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
> Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
> To (un)subscribe, mailto:majordomo@i... the following message;
> (un)subscribe xml-dev
> To subscribe to the digests, mailto:majordomo@i... the following message;
> subscribe xml-dev-digest
> List coordinator, Henry Rzepa (mailto:rzepa@i...)
> 
> 


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.