{"action":"created","comment":{"url":"https://api.github.com/repos/SonarCommunity/sonar-web/pulls/comments/33236347","id":33236347,"diff_hunk":"@@ -58,7 +58,10 @@ public void startElement(TagNode element) {\n           createViolation(childNode.getStartLinePosition(), \"Remove this \\\"\" + child + \"\\\" tag; it is not a legal child of \\\"\" + parent + \"\\\".\");\n         }\n       }\n+    } else if (element.equalsElementName(parent)) {\n+\n     }\n+    int BAD_NAME;","path":"src/main/java/org/sonar/plugins/web/checks/structure/ChildElementIllegalCheck.java","position":7,"original_position":7,"commit_id":"8bbbd415f4b714ade598b007a6faf131e4149978","original_commit_id":"8bbbd415f4b714ade598b007a6faf131e4149978","user":{"login":"SonarTech","id":1842438,"avatar_url":"https://avatars.githubusercontent.com/u/1842438?v=3","gravatar_id":"","url":"https://api.github.com/users/SonarTech","html_url":"https://github.com/SonarTech","followers_url":"https://api.github.com/users/SonarTech/followers","following_url":"https://api.github.com/users/SonarTech/following{/other_user}","gists_url":"https://api.github.com/users/SonarTech/gists{/gist_id}","starred_url":"https://api.github.com/users/SonarTech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SonarTech/subscriptions","organizations_url":"https://api.github.com/users/SonarTech/orgs","repos_url":"https://api.github.com/users/SonarTech/repos","events_url":"https://api.github.com/users/SonarTech/events{/privacy}","received_events_url":"https://api.github.com/users/SonarTech/received_events","type":"User","site_admin":false},"body":"![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) Remove this unused \"BAD_NAME\" local variable. [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://nemo.sonarqube.org/coding_rules#rule_key=squid%3AS1481)\n![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) Rename this local variable name to match the regular expression '^[a-z][a-zA-Z0-9]*$'. [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://nemo.sonarqube.org/coding_rules#rule_key=squid%3AS00117)\n","created_at":"2015-06-25T09:22:28Z","updated_at":"2015-06-25T09:22:28Z","html_url":"https://github.com/SonarCommunity/sonar-web/pull/4#discussion_r33236347","pull_request_url":"https://api.github.com/repos/SonarCommunity/sonar-web/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/SonarCommunity/sonar-web/pulls/comments/33236347"},"html":{"href":"https://github.com/SonarCommunity/sonar-web/pull/4#discussion_r33236347"},"pull_request":{"href":"https://api.github.com/repos/SonarCommunity/sonar-web/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/SonarCommunity/sonar-web/pulls/4","id":38526764,"html_url":"https://github.com/SonarCommunity/sonar-web/pull/4","diff_url":"https://github.com/SonarCommunity/sonar-web/pull/4.diff","patch_url":"https://github.com/SonarCommunity/sonar-web/pull/4.patch","issue_url":"https://api.github.com/repos/SonarCommunity/sonar-web/issues/4","number":4,"state":"open","locked":false,"title":"Fake pull request analysis demo","user":{"login":"mpaladin","id":456050,"avatar_url":"https://avatars.githubusercontent.com/u/456050?v=3","gravatar_id":"","url":"https://api.github.com/users/mpaladin","html_url":"https://github.com/mpaladin","followers_url":"https://api.github.com/users/mpaladin/followers","following_url":"https://api.github.com/users/mpaladin/following{/other_user}","gists_url":"https://api.github.com/users/mpaladin/gists{/gist_id}","starred_url":"https://api.github.com/users/mpaladin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpaladin/subscriptions","organizations_url":"https://api.github.com/users/mpaladin/orgs","repos_url":"https://api.github.com/users/mpaladin/repos","events_url":"https://api.github.com/users/mpaladin/events{/privacy}","received_events_url":"https://api.github.com/users/mpaladin/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-25T09:15:58Z","updated_at":"2015-06-25T09:22:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dd6ad2e0d90cd679b19a9c194113c7611a45f28f","assignee":{"login":"mpaladin","id":456050,"avatar_url":"https://avatars.githubusercontent.com/u/456050?v=3","gravatar_id":"","url":"https://api.github.com/users/mpaladin","html_url":"https://github.com/mpaladin","followers_url":"https://api.github.com/users/mpaladin/followers","following_url":"https://api.github.com/users/mpaladin/following{/other_user}","gists_url":"https://api.github.com/users/mpaladin/gists{/gist_id}","starred_url":"https://api.github.com/users/mpaladin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpaladin/subscriptions","organizations_url":"https://api.github.com/users/mpaladin/orgs","repos_url":"https://api.github.com/users/mpaladin/repos","events_url":"https://api.github.com/users/mpaladin/events{/privacy}","received_events_url":"https://api.github.com/users/mpaladin/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/SonarCommunity/sonar-web/pulls/4/commits","review_comments_url":"https://api.github.com/repos/SonarCommunity/sonar-web/pulls/4/comments","review_comment_url":"https://api.github.com/repos/SonarCommunity/sonar-web/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SonarCommunity/sonar-web/issues/4/comments","statuses_url":"https://api.github.com/repos/SonarCommunity/sonar-web/statuses/8bbbd415f4b714ade598b007a6faf131e4149978","head":{"label":"SonarCommunity:TEST-PR","ref":"TEST-PR","sha":"8bbbd415f4b714ade598b007a6faf131e4149978","user":{"login":"SonarCommunity","id":1303819,"avatar_url":"https://avatars.githubusercontent.com/u/1303819?v=3","gravatar_id":"","url":"https://api.github.com/users/SonarCommunity","html_url":"https://github.com/SonarCommunity","followers_url":"https://api.github.com/users/SonarCommunity/followers","following_url":"https://api.github.com/users/SonarCommunity/following{/other_user}","gists_url":"https://api.github.com/users/SonarCommunity/gists{/gist_id}","starred_url":"https://api.github.com/users/SonarCommunity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SonarCommunity/subscriptions","organizations_url":"https://api.github.com/users/SonarCommunity/orgs","repos_url":"https://api.github.com/users/SonarCommunity/repos","events_url":"https://api.github.com/users/SonarCommunity/events{/privacy}","received_events_url":"https://api.github.com/users/SonarCommunity/received_events","type":"Organization","site_admin":false},"repo":{"id":7403823,"name":"sonar-web","full_name":"SonarCommunity/sonar-web","owner":{"login":"SonarCommunity","id":1303819,"avatar_url":"https://avatars.githubusercontent.com/u/1303819?v=3","gravatar_id":"","url":"https://api.github.com/users/SonarCommunity","html_url":"https://github.com/SonarCommunity","followers_url":"https://api.github.com/users/SonarCommunity/followers","following_url":"https://api.github.com/users/SonarCommunity/following{/other_user}","gists_url":"https://api.github.com/users/SonarCommunity/gists{/gist_id}","starred_url":"https://api.github.com/users/SonarCommunity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SonarCommunity/subscriptions","organizations_url":"https://api.github.com/users/SonarCommunity/orgs","repos_url":"https://api.github.com/users/SonarCommunity/repos","events_url":"https://api.github.com/users/SonarCommunity/events{/privacy}","received_events_url":"https://api.github.com/users/SonarCommunity/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SonarCommunity/sonar-web","description":"","fork":false,"url":"https://api.github.com/repos/SonarCommunity/sonar-web","forks_url":"https://api.github.com/repos/SonarCommunity/sonar-web/forks","keys_url":"https://api.github.com/repos/SonarCommunity/sonar-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SonarCommunity/sonar-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SonarCommunity/sonar-web/teams","hooks_url":"https://api.github.com/repos/SonarCommunity/sonar-web/hooks","issue_events_url":"https://api.github.com/repos/SonarCommunity/sonar-web/issues/events{/number}","events_url":"https://api.github.com/repos/SonarCommunity/sonar-web/events","assignees_url":"https://api.github.com/repos/SonarCommunity/sonar-web/assignees{/user}","branches_url":"https://api.github.com/repos/SonarCommunity/sonar-web/branches{/branch}","tags_url":"https://api.github.com/repos/SonarCommunity/sonar-web/tags","blobs_url":"https://api.github.com/repos/SonarCommunity/sonar-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SonarCommunity/sonar-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SonarCommunity/sonar-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/SonarCommunity/sonar-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SonarCommunity/sonar-web/statuses/{sha}","languages_url":"https://api.github.com/repos/SonarCommunity/sonar-web/languages","stargazers_url":"https://api.github.com/repos/SonarCommunity/sonar-web/stargazers","contributors_url":"https://api.github.com/repos/SonarCommunity/sonar-web/contributors","subscribers_url":"https://api.github.com/repos/SonarCommunity/sonar-web/subscribers","subscription_url":"https://api.github.com/repos/SonarCommunity/sonar-web/subscription","commits_url":"https://api.github.com/repos/SonarCommunity/sonar-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/SonarCommunity/sonar-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/SonarCommunity/sonar-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/SonarCommunity/sonar-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/SonarCommunity/sonar-web/contents/{+path}","compare_url":"https://api.github.com/repos/SonarCommunity/sonar-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SonarCommunity/sonar-web/merges","archive_url":"https://api.github.com/repos/SonarCommunity/sonar-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SonarCommunity/sonar-web/downloads","issues_url":"https://api.github.com/repos/SonarCommunity/sonar-web/issues{/number}","pulls_url":"https://api.github.com/repos/SonarCommunity/sonar-web/pulls{/number}","milestones_url":"https://api.github.com/repos/SonarCommunity/sonar-web/milestones{/number}","notifications_url":"https://api.github.com/repos/SonarCommunity/sonar-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SonarCommunity/sonar-web/labels{/name}","releases_url":"https://api.github.com/repos/SonarCommunity/sonar-web/releases{/id}","created_at":"2013-01-02T08:04:51Z","updated_at":"2015-06-16T12:11:49Z","pushed_at":"2015-06-25T09:15:58Z","git_url":"git://github.com/SonarCommunity/sonar-web.git","ssh_url":"git@github.com:SonarCommunity/sonar-web.git","clone_url":"https://github.com/SonarCommunity/sonar-web.git","svn_url":"https://github.com/SonarCommunity/sonar-web","homepage":null,"size":4109,"stargazers_count":8,"watchers_count":8,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":4,"forks":17,"open_issues":4,"watchers":8,"default_branch":"master"}},"base":{"label":"SonarCommunity:master","ref":"master","sha":"501e1155e1eba6a03dfa22aa9f24806f530adf96","user":{"login":"SonarCommunity","id":1303819,"avatar_url":"https://avatars.githubusercontent.com/u/1303819?v=3","gravatar_id":"","url":"https://api.github.com/users/SonarCommunity","html_url":"https://github.com/SonarCommunity","followers_url":"https://api.github.com/users/SonarCommunity/followers","following_url":"https://api.github.com/users/SonarCommunity/following{/other_user}","gists_url":"https://api.github.com/users/SonarCommunity/gists{/gist_id}","starred_url":"https://api.github.com/users/SonarCommunity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SonarCommunity/subscriptions","organizations_url":"https://api.github.com/users/SonarCommunity/orgs","repos_url":"https://api.github.com/users/SonarCommunity/repos","events_url":"https://api.github.com/users/SonarCommunity/events{/privacy}","received_events_url":"https://api.github.com/users/SonarCommunity/received_events","type":"Organization","site_admin":false},"repo":{"id":7403823,"name":"sonar-web","full_name":"SonarCommunity/sonar-web","owner":{"login":"SonarCommunity","id":1303819,"avatar_url":"https://avatars.githubusercontent.com/u/1303819?v=3","gravatar_id":"","url":"https://api.github.com/users/SonarCommunity","html_url":"https://github.com/SonarCommunity","followers_url":"https://api.github.com/users/SonarCommunity/followers","following_url":"https://api.github.com/users/SonarCommunity/following{/other_user}","gists_url":"https://api.github.com/users/SonarCommunity/gists{/gist_id}","starred_url":"https://api.github.com/users/SonarCommunity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SonarCommunity/subscriptions","organizations_url":"https://api.github.com/users/SonarCommunity/orgs","repos_url":"https://api.github.com/users/SonarCommunity/repos","events_url":"https://api.github.com/users/SonarCommunity/events{/privacy}","received_events_url":"https://api.github.com/users/SonarCommunity/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SonarCommunity/sonar-web","description":"","fork":false,"url":"https://api.github.com/repos/SonarCommunity/sonar-web","forks_url":"https://api.github.com/repos/SonarCommunity/sonar-web/forks","keys_url":"https://api.github.com/repos/SonarCommunity/sonar-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SonarCommunity/sonar-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SonarCommunity/sonar-web/teams","hooks_url":"https://api.github.com/repos/SonarCommunity/sonar-web/hooks","issue_events_url":"https://api.github.com/repos/SonarCommunity/sonar-web/issues/events{/number}","events_url":"https://api.github.com/repos/SonarCommunity/sonar-web/events","assignees_url":"https://api.github.com/repos/SonarCommunity/sonar-web/assignees{/user}","branches_url":"https://api.github.com/repos/SonarCommunity/sonar-web/branches{/branch}","tags_url":"https://api.github.com/repos/SonarCommunity/sonar-web/tags","blobs_url":"https://api.github.com/repos/SonarCommunity/sonar-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SonarCommunity/sonar-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SonarCommunity/sonar-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/SonarCommunity/sonar-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SonarCommunity/sonar-web/statuses/{sha}","languages_url":"https://api.github.com/repos/SonarCommunity/sonar-web/languages","stargazers_url":"https://api.github.com/repos/SonarCommunity/sonar-web/stargazers","contributors_url":"https://api.github.com/repos/SonarCommunity/sonar-web/contributors","subscribers_url":"https://api.github.com/repos/SonarCommunity/sonar-web/subscribers","subscription_url":"https://api.github.com/repos/SonarCommunity/sonar-web/subscription","commits_url":"https://api.github.com/repos/SonarCommunity/sonar-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/SonarCommunity/sonar-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/SonarCommunity/sonar-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/SonarCommunity/sonar-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/SonarCommunity/sonar-web/contents/{+path}","compare_url":"https://api.github.com/repos/SonarCommunity/sonar-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SonarCommunity/sonar-web/merges","archive_url":"https://api.github.com/repos/SonarCommunity/sonar-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SonarCommunity/sonar-web/downloads","issues_url":"https://api.github.com/repos/SonarCommunity/sonar-web/issues{/number}","pulls_url":"https://api.github.com/repos/SonarCommunity/sonar-web/pulls{/number}","milestones_url":"https://api.github.com/repos/SonarCommunity/sonar-web/milestones{/number}","notifications_url":"https://api.github.com/repos/SonarCommunity/sonar-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SonarCommunity/sonar-web/labels{/name}","releases_url":"https://api.github.com/repos/SonarCommunity/sonar-web/releases{/id}","created_at":"2013-01-02T08:04:51Z","updated_at":"2015-06-16T12:11:49Z","pushed_at":"2015-06-25T09:15:58Z","git_url":"git://github.com/SonarCommunity/sonar-web.git","ssh_url":"git@github.com:SonarCommunity/sonar-web.git","clone_url":"https://github.com/SonarCommunity/sonar-web.git","svn_url":"https://github.com/SonarCommunity/sonar-web","homepage":null,"size":4109,"stargazers_count":8,"watchers_count":8,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":4,"forks":17,"open_issues":4,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SonarCommunity/sonar-web/pulls/4"},"html":{"href":"https://github.com/SonarCommunity/sonar-web/pull/4"},"issue":{"href":"https://api.github.com/repos/SonarCommunity/sonar-web/issues/4"},"comments":{"href":"https://api.github.com/repos/SonarCommunity/sonar-web/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/SonarCommunity/sonar-web/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/SonarCommunity/sonar-web/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SonarCommunity/sonar-web/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/SonarCommunity/sonar-web/statuses/8bbbd415f4b714ade598b007a6faf131e4149978"}}}}