Archived:JSR-226 - Xml:space attribute with value 'preserve' does not preserve white space (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
Compatibility
Platform(s): S60 3rd Edition, FP1 MIDP SDK
Article
Created: User:Technical writer 1
(31 Aug 2007)
Last edited: hamishwillee
(28 Jun 2012)
Description
When using the Scalable 2D Vector Graphics API, the white spaces are not preserved in the character data when the attribute xml:space with the value 'preserve' is used for an <svg> element.
How to reproduce
This issue affects JSR-226 when running on the emulator.
<svg width="240" height="320" viewBox="0 0 240 320" xml:space="preserve">
<text id="menuItem_0" transform="translate(10 80)" font-size="14>
Menu item
</text>
</svg>.
Solution
This issue is fixed in S60 3rd Edition, FP2 MIDP SDK.


(no comments yet)