More info on 0.94... There were issues with my xsl file that worked with 0.20.5. I found these using the command line to create the pdf. I fixed those and I still get the "Content not allowed in prolog" error call the fop processor using a servlet.
For grins, I used the command line and generated a .fo file from my xml/xsl files. That DOES work calling the servlet. I'm able to generate a pdf from it. Does this give anyone any ideas? I would really like for this work... macsmaker wrote: > > (in response to issues with external-graphic..) > > Okay, I upgraded to 0.94 because I found other things that may be issues > with 0.20.5. Now I'm completely hosed... Using the supplied FOP servlet, > the same xml and xsl files (i'm using a option on the servlet) I get the > following error: > > javax.servlet.ServletException: org.xml.sax.SAXParseException: Content is > not allowed in prolog > (I'm not going to include all the error info unless someone wants it.) > > I have researched the problem and cannot find an answer to it. The only > "answers" I can find are: > (1)incorrect coding on the xml declaration; (2)the xml file is not well > formed; (3)there are extraneous characters in the file. > > I have made sure that my XML, XSL and any associated files I can find are > well formed, using UTF-8 for encoding, and no extraneous characters. I > even pared my XML file down to only a few elements and took out any > unecessary attributes. I have also looked at the web.xml supplied with > distribution, but don't see anything wrong with. Don't want to change it > and potentially make things worse. > > No luck. I'm going back to 0.20.5 until I can figure this out. > -- View this message in context: http://www.nabble.com/0.94-as-a-servlet--tf4714463.html#a13476185 Sent from the FOP - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
