It's strange. I've also migrated to GAE 1.2.8 and XSLT works for me
fine (except xsl:output - see 
http://code.google.com/p/googleappengine/issues/detail?id=1367
comment 21).

Did you put all xalan jars (serializer.jar, xalan.jar, xercesImpl.jar,
xml-apis.jar) into WEB-INF/lib ?

Vaclav

On Dec 9, 8:23 pm, Dan Dubois <[email protected]> wrote:
> Dear All,
>
> I just migrated my code to App Engine SDK 1.2.8 and GWT SDK 2.0.0.
>
> I have a method that converts an XML Document object into a string:
>
>         public static String getStringFromDocument(Document doc) throws
> TransformerException {
>                 DOMSource domSource = new DOMSource(doc);
>                 StringWriter writer = new StringWriter();
>                 StreamResult result = new StreamResult(writer);
>                 TransformerFactory tf = TransformerFactory.newInstance();
>                 Transformer transformer = tf.newTransformer();
>                 transformer.transform(domSource, result);
>                 return writer.toString();
>         }
>
> Unfortunately I now get this error in the SDK:
>
> javax.xml.transform.TransformerFactoryConfigurationError: Provider
> org.apache.xalan.processor.TransformerFactoryImpl not found
>         at javax.xml.transform.TransformerFactory.newInstance
> (TransformerFactory.java:108)
>
> I do not get this error when I upload my app. Any idea what is going
> on?
>
> Best wishes,
> Dan

--

You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.


Reply via email to