×
Namespaces

Variants
Actions

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

From Nokia Developer Wiki
Jump to: navigation, search

Archived.pngArchived: 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
CompatibilityArticle
Created: User:Technical writer 1 (26 Sep 2007)
Last edited: hamishwillee (25 Jul 2013)

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 25 July 2013, at 09:17.
44 page views in the last 30 days.
×