Bizarre exception using XSLT
Bizarre exception using XSLT
- Subject: Bizarre exception using XSLT
- From: Merul Patel <email@hidden>
- Date: Thu, 25 Sep 2003 23:43:08 +0100
Hi,
I'm trying to generate PDF from an RTF file using webobjects, and I
have an application that successfully parses an RTF file (at least for
my purposes) and dumps out an XML file using MacRoman character
encoding.
I've written an XSL transformation which takes the created XML file and
converts them into XSL:FO files for generating PDFs. For expediency
I've just used a 3 line function as per the example given in the
SimpleTransformation.java example that accompanies the Apache Xalan
processor. When I test this using javac and java on the command line,
the input XML files encoded using MacRoman character encoding are
correctly transformed to the desired XSL:FO elements which I can then
process using the Apache FOP processor.
However, when I copy the same 3 line function and associated headers
into my Webobjects class files, I get an exception stating an
unrecognised encoding??!!
I have no idea what's going on, since I only have the Apache jar files
that come configured as part of WO 5.1, and the only third party jars
I've put into the /Library/Java/Extension folders are the FOP.jar, and
Batik.jar.
Needless to say, thanks in advance.
Merul
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.