This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 77161 - I18N - Custom Platform wizard shouldn't allow to enter characters that can malform the xml
Summary: I18N - Custom Platform wizard shouldn't allow to enter characters that can ma...
Status: RESOLVED FIXED
Alias: None
Product: javame
Classification: Unclassified
Component: Build System (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: Adam Sotona
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2006-05-31 15:33 UTC by Lukas Hasik
Modified: 2007-08-16 15:04 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
strange display name of the platform, isn't it? (16.61 KB, image/png)
2006-05-31 15:35 UTC, Lukas Hasik
Details
custom platform descriptor (3.46 KB, text/xml)
2006-05-31 15:36 UTC, Lukas Hasik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Hasik 2006-05-31 15:33:44 UTC
User can use any character as Platform/Device Name in Custom Platform wizard. It
can cause problems when reading the xml of the platform.


It's more usability issue than serious bug. It is corner case with easy
workaround - edit the xml and rename.
Comment 1 Lukas Hasik 2006-05-31 15:35:06 UTC
Created attachment 30710 [details]
strange display name of the platform, isn't it?
Comment 2 Lukas Hasik 2006-05-31 15:36:03 UTC
Created attachment 30711 [details]
custom platform descriptor
Comment 3 Lukas Hasik 2006-06-23 15:20:22 UTC
moving to mobility component
Comment 4 Adam Sotona 2007-05-21 16:20:19 UTC
The characters can be entered but the XML could not be malformed.
Fixed.
Comment 5 Lukas Hasik 2007-07-27 13:48:05 UTC
it still doesn't work. E.g. platform name starting with $$
Comment 6 Adam Sotona 2007-07-31 17:10:33 UTC
The xml is not corrupted by $$ and everything is stored correctly.
However regular expression in build script used to evaluate platform home is sensiteve to special characters.
Comment 7 Adam Sotona 2007-08-16 15:04:46 UTC
I've blocked usage of any special characters used in Ant regular expressions.