[Ikvm-developers] ikvm fails with xml files set with the processing instruction to encoding=utf-16
Brought to you by:
jfrijters
From: Henrik B. <hb...@de...> - 2007-07-31 09:22:16
|
Hi! I'm running Apache FOP 0.93 with both java 1.6 and ikvm 0.34.0.2. I observe that ikvm fails, when translating the krusty.xml/.xsl = reference files saved in Unicode Text Document format from Wordpad and = the reference files have the processing instruction changed to <?xml = version=3D"1.0" encoding=3D"UTF-16"?>, with this error: DE:ikvm-0.34 (jdk-1.4),FOP:0.93>fop -xml krusty.xml -xsl krusty.xsl -pdf = krusty. pdf "ikvm" [Fatal Error] krusty.xsl:1:6: The processing instruction target matching = "[xX][m M][lL]" is not allowed. file:/C:/Documents%20and%20Settings/All%20Users/Documents/Shared%20Projec= ts/hb/P rojects/Decon/FOP/FOP/FOP/Source/krusty.xsl; Line #1; Column #6; The = processing instruction target matching "[xX][mM][lL]" is not allowed. 31/07/2007 10.48.07 org.apache.fop.cli.Main startFOP SEVERE: Exception java.lang.NullPointerException at = org.apache.fop.cli.InputHandler.transformTo(InputHandler.java) at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java) at org.apache.fop.cli.Main.startFOP(Main.java) at org.apache.fop.cli.Main.main(Main.java) --------- java.lang.NullPointerException at = org.apache.fop.cli.InputHandler.transformTo(InputHandler.java) at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java) at org.apache.fop.cli.Main.startFOP(Main.java) at org.apache.fop.cli.Main.main(Main.java) DE:ikvm-0.34 (jdk-1.4),FOP:0.93>ikvm -version IKVM.NET Launcher version 0.34.0.2 Copyright (C) 2002-2007 Jeroen Frijters http://www.ikvm.net/ CLR version: 1.1.4322.2407 (32 bit) mscorlib: 1.0.5000.0 ikvm: 0.34.0.2 IKVM.GNU.Classpath: 0.34.0.2 IKVM.Runtime: 0.34.0.2 GNU Classpath version: 0.95 Java 1.6 doesn't fail and generates the pdf file as expected. xmlwf (a = unix tool that checks xml for wellformedness) doesn't report any errors = on the above change reference files, too. Is this a bug? Med venlig hilsen / Best regards Henrik Bach =A0 Civilingeni=F8r/Cand.=A0Polyt./M.Sc.E. MCPD: Web Developer, MCTS: .Net Framework 2.0: Web Applications, Distributed Applications,=20 MCTS: SQL Server 2005 =A0 decon ApS Vestre Gade 6D DK-2605 Br=F8ndby =A0 Mobil=A0=A0=A0=A0=A0=A0 :=A0+45 4941 4207 Reception: +45 4030 3610 Fax.=A0=A0=A0=A0=A0=A0=A0 :=A0+45 3647 3670 eMail=A0=A0=A0=A0=A0=A0 : hb...@de... Web=A0=A0=A0=A0=A0=A0=A0 :=A0http://www.decon.dk |