{ "id": "63165", "key": "TIMOB-2533", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11258", "description": "Holding Pen for Triaged Issues", "name": "Backlog", "archived": false, "released": false } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2011-04-15T03:22:07.000+0000", "created": "2011-04-15T03:22:07.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "filesystem", "ios", "parse", "regression", "to", "xhr" ], "versions": [], "issuelinks": [], "assignee": { "name": "rpfeiffer", "key": "rpfeiffer", "displayName": "Ralf Pfeiffer", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-02T19:33:10.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}

TiMobile sdk version 1.5.0.8f4eea3 ipod touch 4GT (4.2.1)

\n

1.Views > Web Views > XHR to FileSystem
\n2.view console output

\n

results:

\n

Tue Dec 7 10:43:17 unknown\nUIKitApplication:com.appcelerator.KitchenSink[0x3dac][3753] :\n[INFO] window was closed
\nTue Dec 7 10:43:20 unknown\nUIKitApplication:com.appcelerator.KitchenSink[0x3dac][3753] :\nEntity: line 3: parser error : Entity 'nbsp' not defined
\nTue Dec 7 10:43:20 unknown\nUIKitApplication:com.appcelerator.KitchenSink[0x3dac][3753] :\n/div>

\n
\n
» 
\nTue Dec 7 10:43:20 unknown\nUIKitApplication:com.appcelerator.KitchenSink[0x3dac][3753] : ^
\nTue Dec 7 10:43:20 unknown\nUIKitApplication:com.appcelerator.KitchenSink[0x3dac][3753] :\nEntity: line 3: parser error : Entity 'nbsp' not defined
\nTue Dec 7 10:43:20 unknown\nUIKitApplication:com.appcelerator.KitchenSink[0x3dac][3753] :\ndiv>
\n\n 
\nTue Dec 7 10:43:20 unknown\nUIKitApplication:com.appcelerator.KitchenSink[0x3dac][3753] : ^
\nTue Dec 7 10:43:20 unknown\nUIKitApplication:com.appcelerator.KitchenSink[0x3dac][3753] :\nEntity: line 3: parser error : Entity 'nbsp' not defined
\nTue Dec 7 10:43:20 unknown\nUIKitApplication:com.appcelerator.KitchenSink[0x3dac][3753] :\nlass=\"iz-prefs inline\">Settings
\n 
\nTue Dec 7 10:43:20 unknown\nUIKitApplication:com.appcelerator.KitchenSink[0x3dac][3753] : ^
\nTue Dec 7 10:43:20 unknown\nUIKitApplication:com.appcelerator.KitchenSink[0x3dac][3753] :\nEntity: line 3: parser error : Entity 'nbsp' not defined
\nTue Dec 7 10:43:20 unknown\nUIKitApplication:com.appcelerator.KitchenSink[0x3dac][3753] :\nclass=\"footer\" id=\"footerDiv\">\n
View Google in: 
\nTue Dec 7 10:43:20 unknown\nUIKitApplication:com.appcelerator.KitchenSink[0x3dac][3753] : ^
\nTue Dec 7 10:43:20 unknown\nUIKitApplication:com.appcelerator.KitchenSink[0x3dac][3753] :\nEntity: line 3: parser error : Entity 'nbsp' not defined
\nTue Dec 7 10:43:20 unknown\nUIKitApplication:com.appcelerator.KitchenSink[0x3dac][3753] :\nass=\"mobile-classic\">View Google in: Mobile 
\nTue Dec 7 10:43:20 unknown\nUIKitApplication:com.appcelerator.KitchenSink[0x3dac][3753] : ^
\nTue Dec 7 10:43:20 unknown\nUIKitApplication:com.appcelerator.KitchenSink[0x3dac][3753] :\nEntity: line 3: parser error : Entity 'nbsp' not defined
\nTue Dec 7 10:43:20 unknown\nUIKitApplication:com.appcelerator.KitchenSink[0x3dac][3753] :\nbile-classic\">View Google in: Mobile | 
\nTue Dec 7 10:43:20 unknown\nUIKitApplication:com.appcelerator.KitchenSink[0x3dac][3753] : ^
\nTue Dec 7 10:43:20 unknown\nUIKitApplication:com.appcelerator.KitchenSink[0x3dac][3753] :\nEntity: line 3: parser error : Entity 'copy' not defined
\nTue Dec 7 10:43:20 unknown\nUIKitApplication:com.appcelerator.KitchenSink[0x3dac][3753] :\nm/webhp?hl=en&output=html\" >Classic
\n
©
\nTue Dec 7 10:43:20 unknown\nUIKitApplication:com.appcelerator.KitchenSink[0x3dac][3753] :
\n
{html}", "attachment": [], "flagged": false, "summary": "iOS: xhr to filesystem test generates unexpected (parser) errors ", "creator": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "128711", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

as per Stramer, this is expected behavior, closing as invalid\nwiht his commnets:

\n

\"This is obnoxious, but right now, because of how we handle XHR\nreturns we ALWAYS parse return data when it could
\npossibly contain XML content (and if it's malformed, that's not\nour
\nfault).\"

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:22:07.000+0000", "updated": "2011-04-15T03:22:07.000+0000" }, { "id": "408487", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closed as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-02T19:33:10.000+0000", "updated": "2017-03-02T19:33:10.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }