{ "id": "120593", "key": "ALOY-840", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [ { "id": "15758", "description": "Alloy 1.4.0", "name": "Alloy 1.4.0", "archived": false, "released": true, "releaseDate": "2014-07-17" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-02-06T00:50:15.000+0000", "created": "2013-09-29T04:59:45.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [ { "id": "34433", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "122756", "key": "ALOY-887", "fields": { "summary": "In XML files of an Alloy project, open a comment block but not closing it, will hang up the compiler", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-05-08T11:07:32.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": "12326", "name": "XML", "description": "View XML and parsing" } ], "description": "XML elements may be without end slash? It may confuse developer if he forgets to finish element.\r\n\r\n*Example:* (Works without any problem)\r\n{code:javascript} \r\n\r\n \r\n \r\n\r\n{code}", "attachment": [], "flagged": false, "summary": "Alloy: XML elements may be without end slash?", "creator": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Macbook Pro, OSX 10.7.5, iOS Simulator v. 6.0 (369.2). Ti: 3.1.0.GA", "comment": { "comments": [ { "id": "273958", "author": { "name": "jbuckley", "key": "jbuckley", "displayName": "Jamie Buckley", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I am not sure I understand how this is an issue if the element is being closed?", "updateAuthor": { "name": "jbuckley", "key": "jbuckley", "displayName": "Jamie Buckley", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-06T19:12:03.000+0000", "updated": "2013-10-06T19:12:03.000+0000" }, { "id": "273960", "author": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Everything works OK problem is that compiler accept element that is not closed. If is xml document too big it can be confusing to see opened element without end...", "updateAuthor": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-06T20:06:19.000+0000", "updated": "2013-10-06T20:06:19.000+0000" }, { "id": "289216", "author": { "name": "ivan.skugor", "key": "ivan.skugor", "displayName": "Ivan Skugor", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "XML elements can't be without end slash, it's not valid XML, IMHO.", "updateAuthor": { "name": "ivan.skugor", "key": "ivan.skugor", "displayName": "Ivan Skugor", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2014-01-22T14:45:36.000+0000", "updated": "2014-01-22T14:45:36.000+0000" }, { "id": "289405", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "This appears to be an issue with the xmldom parser. I have filed an issue on that project https://github.com/jindw/xmldom/issues/76", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-01-23T15:39:05.000+0000", "updated": "2014-01-23T15:39:05.000+0000" }, { "id": "291470", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "PR: https://github.com/appcelerator/alloy/pull/328\r\nTest app: testing/ALOY-840\r\n\r\nFunctional test:\r\n\r\n1. Build the app\r\n2. It should die (fail to compile) with a message that there was an Unclosed XML tag or attribute", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-02-05T20:00:39.000+0000", "updated": "2014-02-05T20:00:39.000+0000" }, { "id": "291578", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "re-open for review/modification", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-06T00:48:16.000+0000", "updated": "2014-02-06T00:48:16.000+0000" }, { "id": "291580", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "h3. code\r\n\r\nPR: https://github.com/appcelerator/alloy/pull/331\r\ntest app: https://github.com/appcelerator/alloy/tree/master/test/apps/testing/ALOY-840\r\n\r\nh3. functional review\r\n\r\n# Attempt to run the test app\r\n# You should get a compile time error that looks like this:\r\n{code}\r\n[INFO] ----- MVC GENERATION -----\r\n[INFO] [global style] writing to cache...\r\n[INFO] [index.xml] view processing...\r\n[INFO] style: \"index.tss\"\r\n[INFO] view: \"index.xml\"\r\n[ERROR] Error parsing XML file.\r\n[ERROR] Unclosed XML tag or attribute\r\n[ERROR] @#[line:3,col:3]\r\n[ERROR] Alloy compiler failed\r\n{code}", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-06T00:50:15.000+0000", "updated": "2014-02-06T00:50:15.000+0000" }, { "id": "303996", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the FIXED with:\r\n\r\nAppc-Studio:3.3.0.201405011408\r\nsdk:3.3.0.v20140507163312\r\nacs:1.0.14\r\nalloy:1.4.0-dev\r\nnpm:1.3.2\r\ntitanium:3.3.0-dev\r\ntitanium-code-processor:1.1.1\r\nxcode:5.1.1\r\nDevice:Iphone5s(v7.1.1),Nexus7(v4.4.2)\r\n\r\nWorking as expected.\r\nHence closing the issue.", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-08T11:07:32.000+0000", "updated": "2014-05-08T11:07:32.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }