This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
org.xml.sax.SAXParseException: Content is not allowed in prolog. at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.fop.apps.Driver.render(Driver.java:424) at org.apache.fop.apps.Driver.run(Driver.java:508) at com.portal.PDFWriter.printDocument(PDFWriter.java:83) at com.portal.PDFWriter.<init>(PDFWriter.java:32) at com.portal.PDFWriter.main(PDFWriter.java:93)
Probably the start of your document is not clean - perhaps an extra character or two accidently got in. You should be able to extract the line and column it is objecting to from the SAXException. Bill [ November 05, 2004: Message edited by: William Brogden ]
William is right. Actually I faced such a problem when I had saved an xml document's specific parts from within Windows Notepad into UltraEdit (via CTRL-C CTRL-V) The 1st hexadecimal numbers are: FFFE 3C00 3F00 7800 6D00 6C00 which maps to FFFE<?xml By the way FFFE: means Unicode UTF-8 Big Endian Encoding . Actually nothing was wrong. I donot figure out WHY but it is so.. then I chose DOS Schema and could process the files. [ February 18, 2005: Message edited by: R�stem-� Zal� ]