Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-717] Bug: No escaping of special characters in project description

GitHub Issuen/a
TypeBug
PriorityTrivial
StatusClosed
ResolutionFixed
Resolution Date2011-10-27T14:07:10.000+0000
Affected Version/sn/a
Fix Version/sBacklog
ComponentsiOS
Labelsios, tiapp.xml
ReporterChristian Wenz
AssigneeReggie Seagraves
Created2011-04-15T02:35:03.000+0000
Updated2011-10-27T14:07:10.000+0000

Description

When creating a new Titanium Mobile project within Titanium, or change the project properties within titanium, ampersand characters (&) in the "application description" field do not get escaped properly (&). Ampersands in the "application name", for instance, get properly escaped. When building the project, the XML parser throws an exception (xml.parsers.expt.ExpatError: not well-formed (invalid token). Angle brackets also do not seem to get escaped in the project description field.

[there are other problems with ampersand characters, but I will report them separately]

Used Titanium Developer 1.0 with the latest Mobile SDK.

Comments

  1. Stephen Tramer 2011-04-15

    Affects both Android and iOS but I'm going to tag it for me because I'm good at solving these problems, yessir.

  2. Vikramjeet Singh 2011-07-28

    Bug Scrub: Valid. No test case exists. 'tiapp.xml' is not created at all. Tested On: Mac OSX Lion TiMob Version: 1.7.2 TiStud Version: 1.0.2
  3. Wilson Luu 2011-10-27

    Bug not valid, does not reproduce in: TiMOB sdk version: 1.8.0.v20111027132634 Studio version : 1.0.6.201110251616 OS version : os x Lion Device tested on: iphone 5.0

JSON Source