Namespaces
Variants
Actions

Archived:Java ME XML parser drops characters in S60 3rd Edition FP1 (Known Issue)

Jump to: navigation, search
Archived.png
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.

This page was last modified on 29 June 2012, at 09:48.
134 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved