Hello, > -----Ursprüngliche Nachricht----- > Von: Vincent Hardy [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 26. März 2003 09:43 > An: Batik Users > Betreff: Re: AW: Batik 1.5beta5 available > > > Hello Cory, Christian, > > Christian, the error your are running into is the very reason why we > switched to Xerces. The issue is that Crimson is incompatible > with the > xml-apis.jar comming from xml-commons and that we use now. More > specifically, the problem came from a change in the SAX > helper classes > which exercised the error you see in Crimson (whereas > previous versions > of the SAX helper classes did not exercise that error). > > I made my experiments with the Crimson CVS repository a few > weeks ago. > Note that the problem does not happen on JDK 1.4 because it > contains a > verysio of the SAX helper classes that does not exercise the > problem on > Crimson, and the JDK 1.4 crimson comes first in the classpath. > > Regarding the security exception you get with Xerces, I guess that > Crimson did not try the same access which explains why you > did not get > that error before. >
Yes - the problem is connected to the SecurityClassLoader used for Xerxes. Security settings to grant the permissions are a bit difficult for applets. I fear System.setSecurityManager won't be allowed here - and I don't want to let people install policy files manually to be able to use the applet - as well as I try to avoid using a signed applet. So I will try to stick to Crimson right now ... > Vincent. > > Cory Sanoy wrote: > > I had this same problem a while back and I downloaded the > most recent > > version of the Crimson parser > (http://xml.apache.org/crimson/index.html) and > > the problem went away. > > > > Hope this helps... > > > > /Cory Yes, using that version of the crimson parser everything works perfect. Thanks a lot for the help everybody ! Greetings, Christian. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]