if we put CDATA xml information within the jnlp <argument> tag, application cannot be launched and exception will be thrown: We tried to enclose the CDATA (because we are trying to put a XML string inside an XML string) and we are getting exception from Webstart: BadFieldException[ The field <argument> has an invalid value: ,] at com.sun.javaws.jnl.XMLFormat$9.visitElement(Unknown Source) at com.sun.javaws.jnl.XMLUtils.visitElements(Unknown Source) at com.sun.javaws.jnl.XMLFormat.buildApplicationDesc(Unknown Source) at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source) at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source) at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source) at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source) at com.sun.javaws.Main.launchApp(Unknown Source) at com.sun.javaws.Main.continueInSecureThread(Unknown Source) at com.sun.javaws.Main$1.run(Unknown Source) at java.lang.Thread.run(Unknown Source) See below for the content inside the <argument> tag: <argument><![CDATA[<?xml version="1.0" encoding="UTF-8"?> <java version="1.5.0_04" class="java.beans.XMLDecoder"> <int>1</int></java>]]></argument>
|