Hi, You get this message when you have the wrong encoding in your XML file "<?xml version="1.0" encoding="wrongone"?>. The XML parser then gets a wrong input, not the required "<?xml...".
Markus $> -----Urspr�ngliche Nachricht----- $> Von: Dipl.-Oec. Harald Meyer [mailto:[EMAIL PROTECTED] $> Gesendet: Mittwoch, 19. M�rz 2003 15:39 $> An: [EMAIL PROTECTED] $> Betreff: AW: Upgrade 0.20.3 to 0.20.5rc $> $> $> > I think you have avalon-framework-4.0 in your classpath. $> This file has $> > changed. $> > It is now called avalon-framework-cvs... and was part of my source $> > distribution. $> > Serach for such a file and change the classpath. This $> should fix your $> > problem. $> > $> $> Thanks, but now I get another error and I need some help ... ;-) $> $> C:\fop>java -cp $> build\fop.jar;lib\xml-apis.jar;lib\xercesImpl-2.2.1.jar;lib\x $> alan-2.4.1.jar; $> lib\batik.jar;lib\avalon-framework-cvs-20020806.jar;lib\jimi- $> 1.0.jar;lib\jai $> _core.jar;lib\jai_codec.jar org.apache.fop.apps.Fop -d -xml $> C:\Inetpub\honeywell\quotation\xml\200443.xml -xsl C:\Inetpub\honeywe $> ll\quotation\xml2pdf.xsl $> C:\Inetpub\honeywell\quotation\pdf\200443.pdf $> [DEBUG] Input mode: $> [DEBUG] xslt transformation $> [DEBUG] xml input file: C:\Inetpub\honeywell\quotation\xml\200443.xml $> [DEBUG] xslt stylesheet: C:\Inetpub\honeywell\quotation\xml2pdf.xsl $> [DEBUG] Output mode: $> [DEBUG] pdf $> [DEBUG] output file: C:\Inetpub\honeywell\quotation\pdf\200443.pdf $> [DEBUG] OPTIONS $> [DEBUG] no user configuration file is used [default] $> [DEBUG] debug mode on $> [DEBUG] dump configuration $> [DEBUG] quiet mode on $> [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser $> [INFO] base directory: file:/C:/Inetpub/honeywell/quotation/xml/ $> [INFO] FOP 0.20.5rc $> [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser $> [ERROR] Content is not allowed in prolog. $> org.apache.fop.apps.FOPException: Content is not allowed in prolog. $> at org.apache.fop.apps.Driver.render(Driver.java:462) $> at $> org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter $> .java:69) $> at org.apache.fop.apps.Fop.main(Fop.java:19) $> $> --------- $> $> org.xml.sax.SAXParseException: Content is not allowed in prolog. $> at $> org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) $> at $> org.apache.xalan.transformer.TrAXFilter.parse(Unknown Source) $> at org.apache.fop.apps.Driver.render(Driver.java:457) $> at $> org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter $> .java:69) $> at org.apache.fop.apps.Fop.main(Fop.java:19) $> $> --------- $> $> org.xml.sax.SAXParseException: Content is not allowed in prolog. $> at $> org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) $> at $> org.apache.xalan.transformer.TrAXFilter.parse(Unknown Source) $> at org.apache.fop.apps.Driver.render(Driver.java:457) $> at $> org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter $> .java:69) $> at org.apache.fop.apps.Fop.main(Fop.java:19) $> $> $> $> --------------------------------------------------------------------- $> To unsubscribe, e-mail: [EMAIL PROTECTED] $> For additional commands, e-mail: [EMAIL PROTECTED] $> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
