{"action":"created","issue":{"url":"https://api.github.com/repos/angelozerr/lsp4xml/issues/218","repository_url":"https://api.github.com/repos/angelozerr/lsp4xml","labels_url":"https://api.github.com/repos/angelozerr/lsp4xml/issues/218/labels{/name}","comments_url":"https://api.github.com/repos/angelozerr/lsp4xml/issues/218/comments","events_url":"https://api.github.com/repos/angelozerr/lsp4xml/issues/218/events","html_url":"https://github.com/angelozerr/lsp4xml/issues/218","id":380169407,"node_id":"MDU6SXNzdWUzODAxNjk0MDc=","number":218,"title":"Add warning when XML is not bound to a grammar","user":{"login":"angelozerr","id":1932211,"node_id":"MDQ6VXNlcjE5MzIyMTE=","avatar_url":"https://avatars1.githubusercontent.com/u/1932211?v=4","gravatar_id":"","url":"https://api.github.com/users/angelozerr","html_url":"https://github.com/angelozerr","followers_url":"https://api.github.com/users/angelozerr/followers","following_url":"https://api.github.com/users/angelozerr/following{/other_user}","gists_url":"https://api.github.com/users/angelozerr/gists{/gist_id}","starred_url":"https://api.github.com/users/angelozerr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angelozerr/subscriptions","organizations_url":"https://api.github.com/users/angelozerr/orgs","repos_url":"https://api.github.com/users/angelozerr/repos","events_url":"https://api.github.com/users/angelozerr/events{/privacy}","received_events_url":"https://api.github.com/users/angelozerr/received_events","type":"User","site_admin":false},"labels":[{"id":972465980,"node_id":"MDU6TGFiZWw5NzI0NjU5ODA=","url":"https://api.github.com/repos/angelozerr/lsp4xml/labels/enhancement","name":"enhancement","color":"a2eeef","default":true},{"id":1043446154,"node_id":"MDU6TGFiZWwxMDQzNDQ2MTU0","url":"https://api.github.com/repos/angelozerr/lsp4xml/labels/validation","name":"validation","color":"56f7d7","default":false}],"state":"open","locked":false,"assignee":{"login":"angelozerr","id":1932211,"node_id":"MDQ6VXNlcjE5MzIyMTE=","avatar_url":"https://avatars1.githubusercontent.com/u/1932211?v=4","gravatar_id":"","url":"https://api.github.com/users/angelozerr","html_url":"https://github.com/angelozerr","followers_url":"https://api.github.com/users/angelozerr/followers","following_url":"https://api.github.com/users/angelozerr/following{/other_user}","gists_url":"https://api.github.com/users/angelozerr/gists{/gist_id}","starred_url":"https://api.github.com/users/angelozerr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angelozerr/subscriptions","organizations_url":"https://api.github.com/users/angelozerr/orgs","repos_url":"https://api.github.com/users/angelozerr/repos","events_url":"https://api.github.com/users/angelozerr/events{/privacy}","received_events_url":"https://api.github.com/users/angelozerr/received_events","type":"User","site_admin":false},"assignees":[{"login":"angelozerr","id":1932211,"node_id":"MDQ6VXNlcjE5MzIyMTE=","avatar_url":"https://avatars1.githubusercontent.com/u/1932211?v=4","gravatar_id":"","url":"https://api.github.com/users/angelozerr","html_url":"https://github.com/angelozerr","followers_url":"https://api.github.com/users/angelozerr/followers","following_url":"https://api.github.com/users/angelozerr/following{/other_user}","gists_url":"https://api.github.com/users/angelozerr/gists{/gist_id}","starred_url":"https://api.github.com/users/angelozerr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angelozerr/subscriptions","organizations_url":"https://api.github.com/users/angelozerr/orgs","repos_url":"https://api.github.com/users/angelozerr/repos","events_url":"https://api.github.com/users/angelozerr/events{/privacy}","received_events_url":"https://api.github.com/users/angelozerr/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/angelozerr/lsp4xml/milestones/3","html_url":"https://github.com/angelozerr/lsp4xml/milestone/3","labels_url":"https://api.github.com/repos/angelozerr/lsp4xml/milestones/3/labels","id":3792421,"node_id":"MDk6TWlsZXN0b25lMzc5MjQyMQ==","number":3,"title":"v0.0.3","description":"","creator":{"login":"fbricon","id":148698,"node_id":"MDQ6VXNlcjE0ODY5OA==","avatar_url":"https://avatars3.githubusercontent.com/u/148698?v=4","gravatar_id":"","url":"https://api.github.com/users/fbricon","html_url":"https://github.com/fbricon","followers_url":"https://api.github.com/users/fbricon/followers","following_url":"https://api.github.com/users/fbricon/following{/other_user}","gists_url":"https://api.github.com/users/fbricon/gists{/gist_id}","starred_url":"https://api.github.com/users/fbricon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fbricon/subscriptions","organizations_url":"https://api.github.com/users/fbricon/orgs","repos_url":"https://api.github.com/users/fbricon/repos","events_url":"https://api.github.com/users/fbricon/events{/privacy}","received_events_url":"https://api.github.com/users/fbricon/received_events","type":"User","site_admin":false},"open_issues":17,"closed_issues":6,"state":"open","created_at":"2018-11-03T04:31:43Z","updated_at":"2018-11-13T15:06:24Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2018-11-13T10:59:12Z","updated_at":"2018-11-13T17:07:32Z","closed_at":null,"author_association":"OWNER","body":"When we try to bound a grammar to a XML file and this binding is not well confured (ex: XML file associations is not well configured, XML catalog not well configured) it's hard to see that.\r\n\r\nA proposition si to mark XML root element as warning (\"no grammar constraints\") like WTP does:\r\n\r\n![image](https://user-images.githubusercontent.com/1932211/48409184-6ea20a00-e73b-11e8-889c-f361de294f4d.png)\r\n\r\nThis warning should be a preference. @fbricon @NikolasKomonen what do you think about this idea?"},"comment":{"url":"https://api.github.com/repos/angelozerr/lsp4xml/issues/comments/438351905","html_url":"https://github.com/angelozerr/lsp4xml/issues/218#issuecomment-438351905","issue_url":"https://api.github.com/repos/angelozerr/lsp4xml/issues/218","id":438351905,"node_id":"MDEyOklzc3VlQ29tbWVudDQzODM1MTkwNQ==","user":{"login":"angelozerr","id":1932211,"node_id":"MDQ6VXNlcjE5MzIyMTE=","avatar_url":"https://avatars1.githubusercontent.com/u/1932211?v=4","gravatar_id":"","url":"https://api.github.com/users/angelozerr","html_url":"https://github.com/angelozerr","followers_url":"https://api.github.com/users/angelozerr/followers","following_url":"https://api.github.com/users/angelozerr/following{/other_user}","gists_url":"https://api.github.com/users/angelozerr/gists{/gist_id}","starred_url":"https://api.github.com/users/angelozerr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angelozerr/subscriptions","organizations_url":"https://api.github.com/users/angelozerr/orgs","repos_url":"https://api.github.com/users/angelozerr/repos","events_url":"https://api.github.com/users/angelozerr/events{/privacy}","received_events_url":"https://api.github.com/users/angelozerr/received_events","type":"User","site_admin":false},"created_at":"2018-11-13T17:07:32Z","updated_at":"2018-11-13T17:07:32Z","author_association":"OWNER","body":"@fbricon @NikolasKomonen I have implemented this feature. I must write test yet.\r\n\r\nI have choosen `warnNoGrammar` as preference name https://github.com/angelozerr/lsp4xml/blob/master/org.eclipse.lsp4xml/src/main/java/org/eclipse/lsp4xml/extensions/contentmodel/settings/ContentModelSettings.java#L26 but if you don't like it, please tell me, I will change it.\r\n\r\n"}}
{"actor":{"display_login":"angelozerr"}}