Re: [Ikvm-developers] ikvm fails with xml files set with the processing instruction to encoding=utf
Brought to you by:
jfrijters
|
From: Jeroen F. <je...@su...> - 2007-07-31 09:30:43
|
Hi, This is probably a problem with GNU Classpath's xml stack. The next IKVM Op= enJDK hybrid snapshot will include the Sun/Apache xml stack. Regards, Jeroen > -----Original Message----- > From: ikv...@li... [mailto:ikvm- > dev...@li...] On Behalf Of Henrik Bach > Sent: Tuesday, July 31, 2007 11:21 > To: ikv...@li... > Subject: [Ikvm-developers] ikvm fails with xml files set with the > processing instruction to encoding=3Dutf-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%20Proj > ects/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 > > Civilingeni=F8r/Cand. Polyt./M.Sc.E. > MCPD: Web Developer, > MCTS: .Net Framework 2.0: Web Applications, Distributed Applications, > MCTS: SQL Server 2005 > > decon ApS > Vestre Gade 6D > DK-2605 Br=F8ndby > > Mobil : +45 4941 4207 > Reception: +45 4030 3610 > Fax. : +45 3647 3670 > eMail : hb...@de... > Web : http://www.decon.dk > > > ----------------------------------------------------------------------- > -- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Ikvm-developers mailing list > Ikv...@li... > https://lists.sourceforge.net/lists/listinfo/ikvm-developers |