{"action":"created","issue":{"url":"https://api.github.com/repos/AtomLinter/linter-xmllint/issues/28","labels_url":"https://api.github.com/repos/AtomLinter/linter-xmllint/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/AtomLinter/linter-xmllint/issues/28/comments","events_url":"https://api.github.com/repos/AtomLinter/linter-xmllint/issues/28/events","html_url":"https://github.com/AtomLinter/linter-xmllint/pull/28","id":116889117,"number":28,"title":"add dtd and xsd validation","user":{"login":"dirk-thomas","id":1335366,"avatar_url":"https://avatars.githubusercontent.com/u/1335366?v=3","gravatar_id":"","url":"https://api.github.com/users/dirk-thomas","html_url":"https://github.com/dirk-thomas","followers_url":"https://api.github.com/users/dirk-thomas/followers","following_url":"https://api.github.com/users/dirk-thomas/following{/other_user}","gists_url":"https://api.github.com/users/dirk-thomas/gists{/gist_id}","starred_url":"https://api.github.com/users/dirk-thomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dirk-thomas/subscriptions","organizations_url":"https://api.github.com/users/dirk-thomas/orgs","repos_url":"https://api.github.com/users/dirk-thomas/repos","events_url":"https://api.github.com/users/dirk-thomas/events{/privacy}","received_events_url":"https://api.github.com/users/dirk-thomas/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-14T02:30:44Z","updated_at":"2015-11-14T08:49:46Z","closed_at":"2015-11-14T08:48:26Z","pull_request":{"url":"https://api.github.com/repos/AtomLinter/linter-xmllint/pulls/28","html_url":"https://github.com/AtomLinter/linter-xmllint/pull/28","diff_url":"https://github.com/AtomLinter/linter-xmllint/pull/28.diff","patch_url":"https://github.com/AtomLinter/linter-xmllint/pull/28.patch"},"body":"WIth this patch the linter will perform the following three steps:\r\n\r\n* check if the current xml file is well-formed\r\n* validate against the schema specified in the root tag with:\r\n  * either `xsi:noNamespaceSchemaLocation=\"some.xsd\"`\r\n  * or `xsi:schemaLocation=\"somename some.xsd\"`\r\n* validate against the doctype specified with `<!DOCTYPE ...>` (inline or external)\r\n\r\nEach step is only performed when the previous one passed without an error. The second and third step are only performed if the xml file specifies a schema / doctype."},"comment":{"url":"https://api.github.com/repos/AtomLinter/linter-xmllint/issues/comments/156671616","html_url":"https://github.com/AtomLinter/linter-xmllint/pull/28#issuecomment-156671616","issue_url":"https://api.github.com/repos/AtomLinter/linter-xmllint/issues/28","id":156671616,"user":{"login":"Arcanemagus","id":427137,"avatar_url":"https://avatars.githubusercontent.com/u/427137?v=3","gravatar_id":"","url":"https://api.github.com/users/Arcanemagus","html_url":"https://github.com/Arcanemagus","followers_url":"https://api.github.com/users/Arcanemagus/followers","following_url":"https://api.github.com/users/Arcanemagus/following{/other_user}","gists_url":"https://api.github.com/users/Arcanemagus/gists{/gist_id}","starred_url":"https://api.github.com/users/Arcanemagus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arcanemagus/subscriptions","organizations_url":"https://api.github.com/users/Arcanemagus/orgs","repos_url":"https://api.github.com/users/Arcanemagus/repos","events_url":"https://api.github.com/users/Arcanemagus/events{/privacy}","received_events_url":"https://api.github.com/users/Arcanemagus/received_events","type":"User","site_admin":false},"created_at":"2015-11-14T08:49:46Z","updated_at":"2015-11-14T08:49:46Z","body":"Released in v1.1.0 :wink:."}}