Does anyone know how to set the security permission for 
an applet to enable Xalan to read its output_xml.properties 
file to get around the following problem:

> A DESCRIPTION OF THE PROBLEM :
> I had a problem trying to do a transform from a DOM source
> to a XML file in an Applet.
> In fact, the problem came up makin a new instance of
> javax.xml.transform.Transformer from
> javax.xml.transform.TransformerFactory
> The piece of code is written as follows:
> 
> javax.xml.transform.TransformerFactory
> tf=javax.xml.transform.TransformerFactory.newInstance();
> javax.xml.transform.Transformer trafo=tf.newTransformer();
> javax.xml.transform.dom.DOMSource dos=new
> javax.xml.transform.dom.DOMSource(Document doc);
> javax.xml.transform.stream.StreamResult sr=new
> javax.xml.transform.stream.StreamResult(Writer fout);
> trafo.transform(dos,sr);
> 
> An exception occurs when trying to make a new instance and
> it is like this:
> 
> org.apache.xml.utils.WrappedRuntimeException: Output method
> is xml could not load output_xml.properties (check
> CLASSPATH)
>       at
> 
>org.apache.xalan.templates.OutputProperties.getDefaultMethodProperties(OutputProperties.java:364)
>       at

-- 
 Tom Amiro -- SQA Engineer
 Sun XML Technology Development
 voice: 781-442-0589 Fax: 781-442-1437
 eMail: tom.amiro@.sun.com

Reply via email to