You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by "Bolduan, Eric R." <Bo...@mayo.edu> on 2002/09/19 17:30:51 UTC

Xerces and Applets

	It is my understanding that as of JDK 1.4.0 it is necessary to use the "endorsed directory override" mechanism in order to use a version of Xerces that is different from the one in the JDK.  This works fine for Java applications.  I'm wondering what my options are for an applet.  Is there an equivalent "endorsed" mechanism for applets?  If so, would I need to do this on every machine that will access this applet?

Eric Bolduan
Mayo Clinic - Information Systems
Siebens 729
200 1st Street SW
Rochester, Minnesota  55905
Phone: 507-266-2329


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org


Re: Xerces and Applets

Posted by Joseph Kesselman <ke...@us.ibm.com>.
As far as I know, if you want applets to be able to load different classes 
than those found by the surrounding application, the application has to 
load the applets using a classloader which implements that alternative 
classpath behavior. Otherwise, you will get whatever is already loaded 
and/or whatever the application would normally find.

______________________________________
Joe Kesselman  / IBM Research

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org


Re: get encoding?

Posted by Xuemin Guan <xu...@appresso.com>.
There is no way on a API level. If you really want to know the 
originally declared encoding, the only way to do so is to scan the
bytes stream, and catch the <?xml version="1.0" encoding="Shift_JIS" ?>
bit.

Wai-Yip Tung wrote:
> After parsing, is there anyway I can find out the character encoding used?
> 
> thanks,
> 
> Wai yip tung
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-j-user-help@xml.apache.org
> 
> 
> 


-- 
Xuemin Guan
Java & XML Developer
Appresso SpA (www.appresso.com)
Tel:  +81-3-4412-7790 (Direct)
       +81-3-4412-7700 (Representative)
Email: xuemin@appresso.com


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org


get encoding?

Posted by Wai-Yip Tung <wt...@cisco.com>.
After parsing, is there anyway I can find out the character encoding used?

thanks,

Wai yip tung

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org