Re: [afp-renderer-users] Need some help
Brought to you by:
towny,
tumbarumba
From: Joe S. <jo...@ex...> - 2005-11-23 22:51:17
|
On Wed, 2005-11-23 at 10:01 -0500, Mark Resh wrote: > I need some help running the example on windows xp. I have not been > able to run the example. At first I got the error message where it > was having a problem with the fonts using cp1146 and saw the message > about using international java. So I found the international java, I > wish I could get it from the sun site but I can=E2=80=99t seem to get to = the > correct link. I used > http://www.globes.com/pages/fnp-im/current/fnp_im_jre_down.htm . =20 You should be able to download the standard JRE from java.sun.com, but make sure you select the full download (that includes lib/charsets.jar). > [Fatal Error] :2:1: Content is not allowed in prolog.=20 >=20 > Failed to process examples\example01\simple.fo - > org.apache.fop.apps.FOPException: Content is not allowed in prolog. This sounds like some of the files have become corrupted somehow. The message is explaining that an xml file that it is attempting to read probably doesn't start with <?xml ... Likely suspects are examples/example01/simple.fo or resources/afp-fonts.xml Can you tell me more details about your system? What does `java -version` say? Is JAVA_HOME set? What value is it? Can you see that JAVA_HOME\lib\charsets.jar exists? > I have added the classpath in the bat in include all jars in lib. You should not need to set the classpath, as this is already set in the jar manifest. > What now? Think about the questions above, confirm that you have the international charsets, cross your fingers, try again. Good luck! --=20 Joe Schmetzer .:. Renaissance Developer .:. http://www.exubero.com/ |