{ "id": "153805", "key": "AC-539", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2015-12-27T05:46:09.000+0000", "created": "2015-12-12T17:22:28.000+0000", "labels": [ "XML" ], "versions": [], "issuelinks": [], "assignee": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "updated": "2015-12-27T05:46:09.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "This code returns null:\r\n\r\n{code:javascript}\r\nTi.XML.parseString(\t'').getElementById('ID_1302537637')\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "Titanium.XML: Can't get element by id if id property defined in uppercase", "creator": { "name": "falko", "key": "falko", "displayName": "Andrey Tkachenko", "active": true, "timeZone": "Europe/Moscow" }, "subtasks": [], "reporter": { "name": "falko", "key": "falko", "displayName": "Andrey Tkachenko", "active": true, "timeZone": "Europe/Moscow" }, "environment": "Ti.SDK 5.1.1.GA, Android, Genymotion", "comment": { "comments": [ { "id": "372762", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, In xml you can't define id peramiter in uppercase. It always supports lowecase. Appcelerator alloy dosen't recognise any element if it's id is define in all uppercase. In Alloy you can get id of an element of index.xml by \"$.id\" in index.js. For example:\r\n{code}\r\nindex.xml\r\n\r\n