Bug 449160

Summary: javaws doesn't handle comments correctly in the XML
Product: [Fedora] Fedora Reporter: Brian C. Huffman <huffman>
Component: java-1.6.0-openjdkAssignee: Joshua Sumali <jsumali>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 9CC: langel, lkundrak, mjw
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-06-09 20:25:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Brian C. Huffman 2008-05-30 19:53:43 UTC
Description of problem:
javaws doesn't handle comments correctly in the XML

Version-Release number of selected component (if applicable):
java-1.6.0-openjdk-1.6.0.0-0.13.b09.fc9.i386

How reproducible:
always

Steps to Reproduce:
1. Download EMC Networker's web console
2. It fails
3.
  
Actual results:
It fails

Expected results:
It should run

Additional info:
Here's the XML code that it doesn't like:
<!-- $Id: gconsole.jnlp,v 1.14 2005/06/03 20:52:50 sjauhal Exp $ Copyright (c) 2
005, LEGATO Software, a division of EMC
--
-- All rights reserved.  This is an UNPUBLISHED work, and
-- comprises proprietary and confidential information of LEGATO.
-- Unauthorized use, disclosure, and distribution are strictly
-- prohibited.  Use, duplication, or disclosure of the software
-- and documentation by the U.S. Government is subject to
-- restrictions set forth in a license agreement between the
-- Government and LEGATO or other written agreement specifying
-- the Government's rights to use the software and any applicable
-- FAR provisions, such as FAR 52.227-19.
-->

I get this when run from command line (omitting copious amounts of java errors):
Caused by: net.sourceforge.nanoxml.XMLParseException: XML Parse Exception during
parsing of the XML definition at line 3: Expected: >

It also doesn't like this:
<?xml version="1.0" encoding="utf-8"?>
<!-- JNLP File for GConsole Application -->
<jnlp
	spec="1.0+"
<!-- gstconfig bEgIn DO NOT ALTER THIS LINE -->
	codebase="http://backer:9000/"
	href="gconsole.jnlp">

Doesn't like line 5 (<!-- gstconfig etc.):
net.sourceforge.nanoxml.XMLParseException: XML Parse Exception during parsing of
a jnlp element at line 5: Expected: =

Comment 1 Joshua Sumali 2008-06-02 14:15:23 UTC
Where can I find a copy of "EMC Networker's web console" ? I can't seem to
easily find one on Google to work with.

Comment 2 Joshua Sumali 2008-06-09 20:25:51 UTC
I've committed the fix for this bug in the IcedTea 6 repository. Will close this
once it's in rawhide.