Archived:Java ME XML parser drops characters in S60 3rd Edition FP1 (Known Issue)
Archived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.
Article Metadata
Tested with
Devices(s): All, some future firmware versions may contain the fix
Compatibility
Platform(s): S60 3rd Edition FP1
Article
Created: User:Technical writer 1
(26 Sep 2007)
Last edited: hamishwillee
(29 Jun 2012)
Overview
XML content with "]" or "?" characters is parsed incorrectly in S60 3rd Edition FP1 devices.
Description
The XML parser in the Java ME optional API JSR-172 (Web Services API) drops the "]" and "?" characters from the parsed result if those characters are part of the XML source code. This bug affects all S60 3rd Edition, FP1 devices.
Solution
Encode the "]" and "?" characters with special strings that do not exist elsewhere in the XML source code before parsing the content with the XML parser.
As "?" characters are used in the XML declaration, this workaround does not work for those instances.


Hello,
Is there a solution for this problem ?
I've the error "(1)Missing end tag for Body or Envelope" with a Nokia E65 with firmware 3.0633.69.00. But the application works for old Nokia phones which don't have the own implementation of the JSR-172. As well as emulator with Sun's implementation.
Thanks to all for help and answers!!! >> blaise.grand@softcomponent.ch