This page was last modified 18:01, 7 March 2008.
KIJ000752 - XML parser drops characters
From Forum Nokia Wiki
| ID | KIJ000752 | Creation date | September 26, 2007 |
| Platform | S60 3rd Edition, FP1 | Devices | All, some future firmware versions may contain the fix |
| Category | Java | Subcategory | Web Services API |
Overview
XML content with "]" or "?" characters is parsed incorrectly.
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.
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| regards,I have 2 Nokia 6600 questions to ask someone excellent. | mikeliu1976 | Browsing and Mark-ups | 1 | 2004-10-11 16:34 |
| XML library | wftomas | Symbian Tools & SDKs | 3 | 2004-10-29 18:37 |
| appinfo.rh file not found error | roger555 | General Symbian C++ | 6 | 2008-02-12 09:26 |
| XML Parsing | Alicia_S60 | General Symbian C++ | 2 | 2006-04-23 20:58 |
| Can SIP message integrate with XML ? | wgarnett | Symbian Networking & Messaging | 1 | 2005-10-03 04:19 |

