Hello,

I did not need to grant any permission when using crimson.
My applet loads everything from a single jarfile containing
the classes from my project as well as everything needed (batik, crimson, etc.)

I tried to use crimson again now by setting:

SAXSVGDocumentFactory f = new 
SAXSVGDocumentFactory("org.apache.crimson.parser.XMLReaderImpl");
StringReader sr = new StringReader(content);
svgDocument = (SVGDocument)f.createDocument(null, sr);
             
getting this error:

java.io.IOException: can't declare any more prefixes in this context    
at org.apache.batik.dom.util.SAXDocumentFactory.createDocument(Unknown Source)  
at org.apache.batik.dom.util.SAXDocumentFactory.createDocument(Unknown Source)  
at org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Unknown Source)

> -----Ursprüngliche Nachricht-----
> Von: Vincent Hardy [mailto:[EMAIL PROTECTED]
> Gesendet: Dienstag, 25. März 2003 15:29
> An: Batik Users
> Betreff: Re: AW: Batik 1.5beta5 available
> 
> 
> Hello Christian,
> 
> The XML parser changed in 1.5beta5, so you probably need to 
> change your 
> security settings to grant the permissions to the Xerces jar 
> rather than 
> to the Crimson jar.
> 
> Vincent.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to