{ "id": "99314", "key": "ALOY-184", "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": "14106", "description": "", "name": "2012 Sprint 17", "archived": true, "released": true, "releaseDate": "2012-08-27" }, { "id": "14176", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": false, "released": true, "releaseDate": "2012-12-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-08-24T13:27:22.000+0000", "created": "2012-08-16T07:52:30.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "14106", "description": "", "name": "2012 Sprint 17", "archived": true, "released": true, "releaseDate": "2012-08-27" } ], "issuelinks": [ { "id": "20172", "type": { "id": "10020", "name": "Depends", "inward": "is dependent of", "outward": "depends on" }, "inwardIssue": { "id": "99744", "key": "ALOY-204", "fields": { "summary": "Improve compile time validation of all markup parsers", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": null, "updated": "2018-03-07T22:26:01.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": "12326", "name": "XML", "description": "View XML and parsing" } ], "description": "A developer originally asked if we could improve the parser to identify contained . See details here: https://github.com/appcelerator/alloy/issues/38\r\n\r\nThe bigger issue is that we need to be able to inspect _inside_ a tag to know what its top-level elements are, and if they abide by the rules of its parent. In the above example, We need to be able to inspect into the following so that we know it is actually a that belongs in the .\r\n\r\n{code:xml}\r\n\r\n \r\n \r\n \r\n\r\n{code}\r\n\r\nThis is only one use case. We'll need to do this to ensure that the first view in an Alloy app is a top-level view as well, since we assert that index.xml contains a Window, SplitWindow, or TabGroup.\r\n\r\nh4. index.xml\r\n\r\n{code:xml}\r\n\r\n \r\n\r\n{code}", "attachment": [], "flagged": false, "summary": "Inspect tag's elements at compile time", "creator": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }