vinodat / xmlwise

Automatically exported from code.google.com/p/xmlwise
0 stars 0 forks source link

Getting a saxParse Exception - Content not allowed in Prolog #4

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. I am using the attached xmlfile, which I checked for correctness with plutil
2. I send it across the n/w and I get the same xml back, using urlDecoder.
3. I decode using UTF-8 on the servelt(java) side.
4. I use Plist.fromXml("with the decoded xml");

What is the expected output? What do you see instead?
Need to see the Map<String,Object>. I am getting a saxParse exception
Content is not allowed in prolog

What version of the product are you using? On what operating system?
The latest debug version jar file and OS is Sun sparc.

Please provide any additional information below.

Original issue reported on code.google.com by iNotify.Cbus@gmail.com on 28 Oct 2010 at 5:35

Attachments:

GoogleCodeExporter commented 8 years ago
The xml-file you provide is already quoted, taking that in mind and inserting 
it in a test causes the file to parse without issues for me.

Could you provide me with further details?

Original comment by christof...@gmail.com on 30 Sep 2011 at 10:16

GoogleCodeExporter commented 8 years ago
Issue 3 has been merged into this issue.

Original comment by christof...@gmail.com on 30 Sep 2011 at 10:16

GoogleCodeExporter commented 8 years ago
Marking this issue as invalid as this appears to be due to erroneous data fed 
into the library.

Original comment by christof...@gmail.com on 20 Nov 2011 at 4:41