Re: getting error line number
On Thu, 04 Dec 2003 20:45:15 +0100, J.Pietschmann [EMAIL PROTECTED] wrote: Stan Pinte wrote: [ERROR] Invalid byte 1 of 1-byte UTF-8 sequence. org.apache.fop.apps.FOPException: Invalid byte 1 of 1-byte UTF-8 sequence. at org.apache.fop.apps.Driver.render(Driver.java:507) at org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:106) at org.apache.fop.apps.Fop.main(Fop.java:62) how can I get the line number of my input file, to find the error? Unfortunately, the parser people have more or less standardized on the notation that line endings are characters, and encoding problems are detected at the stage before, so that line count is not available. You might want to feed your file into an identity trasformation run through Saxon, the XML parser bundled with Saxon reports the byte offset. thanks a lot for the tip. Stan. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Stan Pinte. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
getting error line number
hello, when having this: [INFO] setting up fonts [ERROR] Invalid byte 1 of 1-byte UTF-8 sequence. org.apache.fop.apps.FOPException: Invalid byte 1 of 1-byte UTF-8 sequence. at org.apache.fop.apps.Driver.render(Driver.java:507) at org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:106) at org.apache.fop.apps.Fop.main(Fop.java:62) how can I get the line number of my input file, to find the error? thanks a lot, Stan. -- Stan Pinte. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: getting error line number
Stan Pinte wrote: hello, when having this: [INFO] setting up fonts [ERROR] Invalid byte 1 of 1-byte UTF-8 sequence. org.apache.fop.apps.FOPException: Invalid byte 1 of 1-byte UTF-8 sequence. at org.apache.fop.apps.Driver.render(Driver.java:507) at org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:106) at org.apache.fop.apps.Fop.main(Fop.java:62) how can I get the line number of my input file, to find the error? Sorry, but you cant. However, in your case you arent looking for a particular part of the file as I suspect your whole file has the wrong encoding. This is a FAQ. http://xml.apache.org/fop/faq.html#xml-illegal-chars Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: getting error line number
Stan Pinte wrote: [ERROR] Invalid byte 1 of 1-byte UTF-8 sequence. org.apache.fop.apps.FOPException: Invalid byte 1 of 1-byte UTF-8 sequence. at org.apache.fop.apps.Driver.render(Driver.java:507) at org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:106) at org.apache.fop.apps.Fop.main(Fop.java:62) how can I get the line number of my input file, to find the error? Unfortunately, the parser people have more or less standardized on the notation that line endings are characters, and encoding problems are detected at the stage before, so that line count is not available. You might want to feed your file into an identity trasformation run through Saxon, the XML parser bundled with Saxon reports the byte offset. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]