{"action":"closed","issue":{"url":"https://api.github.com/repos/NativeScript/NativeScript/issues/309","labels_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/309/labels{/name}","comments_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/309/comments","events_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/309/events","html_url":"https://github.com/NativeScript/NativeScript/issues/309","id":87222297,"number":309,"title":"Support lower-case-dashed component declaration in the XML","user":{"login":"ligaz","id":19437,"avatar_url":"https://avatars.githubusercontent.com/u/19437?v=3","gravatar_id":"","url":"https://api.github.com/users/ligaz","html_url":"https://github.com/ligaz","followers_url":"https://api.github.com/users/ligaz/followers","following_url":"https://api.github.com/users/ligaz/following{/other_user}","gists_url":"https://api.github.com/users/ligaz/gists{/gist_id}","starred_url":"https://api.github.com/users/ligaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ligaz/subscriptions","organizations_url":"https://api.github.com/users/ligaz/orgs","repos_url":"https://api.github.com/users/ligaz/repos","events_url":"https://api.github.com/users/ligaz/events{/privacy}","received_events_url":"https://api.github.com/users/ligaz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NativeScript/NativeScript/labels/5%20-%20Done","name":"5 - Done","color":"009800"}],"state":"closed","locked":false,"assignee":{"login":"enchev","id":5804953,"avatar_url":"https://avatars.githubusercontent.com/u/5804953?v=3","gravatar_id":"","url":"https://api.github.com/users/enchev","html_url":"https://github.com/enchev","followers_url":"https://api.github.com/users/enchev/followers","following_url":"https://api.github.com/users/enchev/following{/other_user}","gists_url":"https://api.github.com/users/enchev/gists{/gist_id}","starred_url":"https://api.github.com/users/enchev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enchev/subscriptions","organizations_url":"https://api.github.com/users/enchev/orgs","repos_url":"https://api.github.com/users/enchev/repos","events_url":"https://api.github.com/users/enchev/events{/privacy}","received_events_url":"https://api.github.com/users/enchev/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/NativeScript/NativeScript/milestones/4","html_url":"https://github.com/NativeScript/NativeScript/milestones/1.3.0","labels_url":"https://api.github.com/repos/NativeScript/NativeScript/milestones/4/labels","id":1117828,"number":4,"title":"1.3.0","description":"","creator":{"login":"valentinstoychev","id":4980822,"avatar_url":"https://avatars.githubusercontent.com/u/4980822?v=3","gravatar_id":"","url":"https://api.github.com/users/valentinstoychev","html_url":"https://github.com/valentinstoychev","followers_url":"https://api.github.com/users/valentinstoychev/followers","following_url":"https://api.github.com/users/valentinstoychev/following{/other_user}","gists_url":"https://api.github.com/users/valentinstoychev/gists{/gist_id}","starred_url":"https://api.github.com/users/valentinstoychev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valentinstoychev/subscriptions","organizations_url":"https://api.github.com/users/valentinstoychev/orgs","repos_url":"https://api.github.com/users/valentinstoychev/repos","events_url":"https://api.github.com/users/valentinstoychev/events{/privacy}","received_events_url":"https://api.github.com/users/valentinstoychev/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":3,"state":"open","created_at":"2015-05-19T10:10:59Z","updated_at":"2015-07-24T07:45:00Z","due_on":"2015-09-08T21:00:00Z","closed_at":null},"comments":2,"created_at":"2015-06-11T05:53:58Z","updated_at":"2015-07-24T07:45:00Z","closed_at":"2015-07-24T07:45:00Z","body":"For developers coming from a web developer perspective (HTML) it would be good to support XML declarations that are using lower-case-dashed syntax (aka kebap-case). Here is an example:\r\n```xml\r\n<page>\r\n  <scroll-view>\r\n    <stack-layout>\r\n      <label cssClass=\"title\" text=\"Layouts\" />\r\n      <stack-layout>\r\n        <button tag=\"layouts/stack-layout\" text=\"StackLayout\" tap=\"itemTap\" />\r\n...\r\n```\r\n\r\nPossible technical implementations:\r\n\r\n1. Split by Capital case. Ex:\r\n`Button` - `button`\r\n`MyButton` - `my-button`\r\n`MySuperButton` - `my-supper-button`\r\n\r\n2. Add a decorator to the component class. Ex:\r\n```ts\r\n@Component({tagName: 'button'})\r\nexport class Button extends view.View implements definition.Button {\r\n```"}}