{"action":"created","comment":{"url":"https://api.github.com/repos/relaxng/jing-trang/pulls/comments/240839121","pull_request_review_id":183962542,"id":240839121,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MDgzOTEyMQ==","diff_hunk":"@@ -0,0 +1,20 @@\n+package com.thaiopensource.validate.schematron;\n+\n+import net.sf.saxon.lib.StandardErrorListener;\n+import net.sf.saxon.trans.XPathException;\n+\n+import javax.xml.transform.TransformerException;\n+\n+public class SilencingErrorListener extends StandardErrorListener {\n+  @Override\n+  public void warning(TransformerException exception)\n+      throws TransformerException {\n+    if (exception instanceof XPathException) {\n+        XPathException xe = (XPathException) exception;\n+        if (\"SXWN9000\".equals(xe.getErrorCodeLocalPart())) {\n+            return;","path":"mod/schematron/src/main/com/thaiopensource/validate/schematron/SilencingErrorListener.java","position":15,"original_position":15,"commit_id":"185c0718a1dc0033556ae7c7c0f32d0da3368683","original_commit_id":"185c0718a1dc0033556ae7c7c0f32d0da3368683","user":{"login":"rdeltour","id":520889,"node_id":"MDQ6VXNlcjUyMDg4OQ==","avatar_url":"https://avatars2.githubusercontent.com/u/520889?v=4","gravatar_id":"","url":"https://api.github.com/users/rdeltour","html_url":"https://github.com/rdeltour","followers_url":"https://api.github.com/users/rdeltour/followers","following_url":"https://api.github.com/users/rdeltour/following{/other_user}","gists_url":"https://api.github.com/users/rdeltour/gists{/gist_id}","starred_url":"https://api.github.com/users/rdeltour/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdeltour/subscriptions","organizations_url":"https://api.github.com/users/rdeltour/orgs","repos_url":"https://api.github.com/users/rdeltour/repos","events_url":"https://api.github.com/users/rdeltour/events{/privacy}","received_events_url":"https://api.github.com/users/rdeltour/received_events","type":"User","site_admin":false},"body":"Yes, this is my understanding as well.\r\nI made that comment for the sake of clarity, but again I think silencing all SXWN9000 is safe.","created_at":"2018-12-12T00:04:46Z","updated_at":"2018-12-12T00:04:46Z","html_url":"https://github.com/relaxng/jing-trang/pull/241#discussion_r240839121","pull_request_url":"https://api.github.com/repos/relaxng/jing-trang/pulls/241","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/relaxng/jing-trang/pulls/comments/240839121"},"html":{"href":"https://github.com/relaxng/jing-trang/pull/241#discussion_r240839121"},"pull_request":{"href":"https://api.github.com/repos/relaxng/jing-trang/pulls/241"}},"in_reply_to_id":240758305},"pull_request":{"url":"https://api.github.com/repos/relaxng/jing-trang/pulls/241","id":237685370,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM3Njg1Mzcw","html_url":"https://github.com/relaxng/jing-trang/pull/241","diff_url":"https://github.com/relaxng/jing-trang/pull/241.diff","patch_url":"https://github.com/relaxng/jing-trang/pull/241.patch","issue_url":"https://api.github.com/repos/relaxng/jing-trang/issues/241","number":241,"state":"open","locked":false,"title":"Silence schematron-related SXWN9000 Saxon error","user":{"login":"sideshowbarker","id":194984,"node_id":"MDQ6VXNlcjE5NDk4NA==","avatar_url":"https://avatars2.githubusercontent.com/u/194984?v=4","gravatar_id":"","url":"https://api.github.com/users/sideshowbarker","html_url":"https://github.com/sideshowbarker","followers_url":"https://api.github.com/users/sideshowbarker/followers","following_url":"https://api.github.com/users/sideshowbarker/following{/other_user}","gists_url":"https://api.github.com/users/sideshowbarker/gists{/gist_id}","starred_url":"https://api.github.com/users/sideshowbarker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sideshowbarker/subscriptions","organizations_url":"https://api.github.com/users/sideshowbarker/orgs","repos_url":"https://api.github.com/users/sideshowbarker/repos","events_url":"https://api.github.com/users/sideshowbarker/events{/privacy}","received_events_url":"https://api.github.com/users/sideshowbarker/received_events","type":"User","site_admin":false},"body":"Fixes https://github.com/relaxng/jing-trang/issues/240","created_at":"2018-12-11T13:47:41Z","updated_at":"2018-12-12T00:04:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"29bc15d7383d8cbf12ab42340bd34ce0b934c389","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/relaxng/jing-trang/pulls/241/commits","review_comments_url":"https://api.github.com/repos/relaxng/jing-trang/pulls/241/comments","review_comment_url":"https://api.github.com/repos/relaxng/jing-trang/pulls/comments{/number}","comments_url":"https://api.github.com/repos/relaxng/jing-trang/issues/241/comments","statuses_url":"https://api.github.com/repos/relaxng/jing-trang/statuses/185c0718a1dc0033556ae7c7c0f32d0da3368683","head":{"label":"relaxng:SilencingErrorListener","ref":"SilencingErrorListener","sha":"185c0718a1dc0033556ae7c7c0f32d0da3368683","user":{"login":"relaxng","id":11900293,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExOTAwMjkz","avatar_url":"https://avatars0.githubusercontent.com/u/11900293?v=4","gravatar_id":"","url":"https://api.github.com/users/relaxng","html_url":"https://github.com/relaxng","followers_url":"https://api.github.com/users/relaxng/followers","following_url":"https://api.github.com/users/relaxng/following{/other_user}","gists_url":"https://api.github.com/users/relaxng/gists{/gist_id}","starred_url":"https://api.github.com/users/relaxng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/relaxng/subscriptions","organizations_url":"https://api.github.com/users/relaxng/orgs","repos_url":"https://api.github.com/users/relaxng/repos","events_url":"https://api.github.com/users/relaxng/events{/privacy}","received_events_url":"https://api.github.com/users/relaxng/received_events","type":"Organization","site_admin":false},"repo":{"id":33547660,"node_id":"MDEwOlJlcG9zaXRvcnkzMzU0NzY2MA==","name":"jing-trang","full_name":"relaxng/jing-trang","private":false,"owner":{"login":"relaxng","id":11900293,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExOTAwMjkz","avatar_url":"https://avatars0.githubusercontent.com/u/11900293?v=4","gravatar_id":"","url":"https://api.github.com/users/relaxng","html_url":"https://github.com/relaxng","followers_url":"https://api.github.com/users/relaxng/followers","following_url":"https://api.github.com/users/relaxng/following{/other_user}","gists_url":"https://api.github.com/users/relaxng/gists{/gist_id}","starred_url":"https://api.github.com/users/relaxng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/relaxng/subscriptions","organizations_url":"https://api.github.com/users/relaxng/orgs","repos_url":"https://api.github.com/users/relaxng/repos","events_url":"https://api.github.com/users/relaxng/events{/privacy}","received_events_url":"https://api.github.com/users/relaxng/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/relaxng/jing-trang","description":"Schema validation and conversion based on RELAX NG","fork":false,"url":"https://api.github.com/repos/relaxng/jing-trang","forks_url":"https://api.github.com/repos/relaxng/jing-trang/forks","keys_url":"https://api.github.com/repos/relaxng/jing-trang/keys{/key_id}","collaborators_url":"https://api.github.com/repos/relaxng/jing-trang/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/relaxng/jing-trang/teams","hooks_url":"https://api.github.com/repos/relaxng/jing-trang/hooks","issue_events_url":"https://api.github.com/repos/relaxng/jing-trang/issues/events{/number}","events_url":"https://api.github.com/repos/relaxng/jing-trang/events","assignees_url":"https://api.github.com/repos/relaxng/jing-trang/assignees{/user}","branches_url":"https://api.github.com/repos/relaxng/jing-trang/branches{/branch}","tags_url":"https://api.github.com/repos/relaxng/jing-trang/tags","blobs_url":"https://api.github.com/repos/relaxng/jing-trang/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/relaxng/jing-trang/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/relaxng/jing-trang/git/refs{/sha}","trees_url":"https://api.github.com/repos/relaxng/jing-trang/git/trees{/sha}","statuses_url":"https://api.github.com/repos/relaxng/jing-trang/statuses/{sha}","languages_url":"https://api.github.com/repos/relaxng/jing-trang/languages","stargazers_url":"https://api.github.com/repos/relaxng/jing-trang/stargazers","contributors_url":"https://api.github.com/repos/relaxng/jing-trang/contributors","subscribers_url":"https://api.github.com/repos/relaxng/jing-trang/subscribers","subscription_url":"https://api.github.com/repos/relaxng/jing-trang/subscription","commits_url":"https://api.github.com/repos/relaxng/jing-trang/commits{/sha}","git_commits_url":"https://api.github.com/repos/relaxng/jing-trang/git/commits{/sha}","comments_url":"https://api.github.com/repos/relaxng/jing-trang/comments{/number}","issue_comment_url":"https://api.github.com/repos/relaxng/jing-trang/issues/comments{/number}","contents_url":"https://api.github.com/repos/relaxng/jing-trang/contents/{+path}","compare_url":"https://api.github.com/repos/relaxng/jing-trang/compare/{base}...{head}","merges_url":"https://api.github.com/repos/relaxng/jing-trang/merges","archive_url":"https://api.github.com/repos/relaxng/jing-trang/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/relaxng/jing-trang/downloads","issues_url":"https://api.github.com/repos/relaxng/jing-trang/issues{/number}","pulls_url":"https://api.github.com/repos/relaxng/jing-trang/pulls{/number}","milestones_url":"https://api.github.com/repos/relaxng/jing-trang/milestones{/number}","notifications_url":"https://api.github.com/repos/relaxng/jing-trang/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/relaxng/jing-trang/labels{/name}","releases_url":"https://api.github.com/repos/relaxng/jing-trang/releases{/id}","deployments_url":"https://api.github.com/repos/relaxng/jing-trang/deployments","created_at":"2015-04-07T14:20:11Z","updated_at":"2018-12-11T23:49:19Z","pushed_at":"2018-12-11T23:49:18Z","git_url":"git://github.com/relaxng/jing-trang.git","ssh_url":"git@github.com:relaxng/jing-trang.git","clone_url":"https://github.com/relaxng/jing-trang.git","svn_url":"https://github.com/relaxng/jing-trang","homepage":"http://www.thaiopensource.com/relaxng/","size":30463,"stargazers_count":109,"watchers_count":109,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":52,"mirror_url":null,"archived":false,"open_issues_count":131,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":52,"open_issues":131,"watchers":109,"default_branch":"master"}},"base":{"label":"relaxng:master","ref":"master","sha":"76a96b66f0641fb7e575f5919e083009c5be7ed0","user":{"login":"relaxng","id":11900293,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExOTAwMjkz","avatar_url":"https://avatars0.githubusercontent.com/u/11900293?v=4","gravatar_id":"","url":"https://api.github.com/users/relaxng","html_url":"https://github.com/relaxng","followers_url":"https://api.github.com/users/relaxng/followers","following_url":"https://api.github.com/users/relaxng/following{/other_user}","gists_url":"https://api.github.com/users/relaxng/gists{/gist_id}","starred_url":"https://api.github.com/users/relaxng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/relaxng/subscriptions","organizations_url":"https://api.github.com/users/relaxng/orgs","repos_url":"https://api.github.com/users/relaxng/repos","events_url":"https://api.github.com/users/relaxng/events{/privacy}","received_events_url":"https://api.github.com/users/relaxng/received_events","type":"Organization","site_admin":false},"repo":{"id":33547660,"node_id":"MDEwOlJlcG9zaXRvcnkzMzU0NzY2MA==","name":"jing-trang","full_name":"relaxng/jing-trang","private":false,"owner":{"login":"relaxng","id":11900293,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExOTAwMjkz","avatar_url":"https://avatars0.githubusercontent.com/u/11900293?v=4","gravatar_id":"","url":"https://api.github.com/users/relaxng","html_url":"https://github.com/relaxng","followers_url":"https://api.github.com/users/relaxng/followers","following_url":"https://api.github.com/users/relaxng/following{/other_user}","gists_url":"https://api.github.com/users/relaxng/gists{/gist_id}","starred_url":"https://api.github.com/users/relaxng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/relaxng/subscriptions","organizations_url":"https://api.github.com/users/relaxng/orgs","repos_url":"https://api.github.com/users/relaxng/repos","events_url":"https://api.github.com/users/relaxng/events{/privacy}","received_events_url":"https://api.github.com/users/relaxng/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/relaxng/jing-trang","description":"Schema validation and conversion based on RELAX NG","fork":false,"url":"https://api.github.com/repos/relaxng/jing-trang","forks_url":"https://api.github.com/repos/relaxng/jing-trang/forks","keys_url":"https://api.github.com/repos/relaxng/jing-trang/keys{/key_id}","collaborators_url":"https://api.github.com/repos/relaxng/jing-trang/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/relaxng/jing-trang/teams","hooks_url":"https://api.github.com/repos/relaxng/jing-trang/hooks","issue_events_url":"https://api.github.com/repos/relaxng/jing-trang/issues/events{/number}","events_url":"https://api.github.com/repos/relaxng/jing-trang/events","assignees_url":"https://api.github.com/repos/relaxng/jing-trang/assignees{/user}","branches_url":"https://api.github.com/repos/relaxng/jing-trang/branches{/branch}","tags_url":"https://api.github.com/repos/relaxng/jing-trang/tags","blobs_url":"https://api.github.com/repos/relaxng/jing-trang/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/relaxng/jing-trang/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/relaxng/jing-trang/git/refs{/sha}","trees_url":"https://api.github.com/repos/relaxng/jing-trang/git/trees{/sha}","statuses_url":"https://api.github.com/repos/relaxng/jing-trang/statuses/{sha}","languages_url":"https://api.github.com/repos/relaxng/jing-trang/languages","stargazers_url":"https://api.github.com/repos/relaxng/jing-trang/stargazers","contributors_url":"https://api.github.com/repos/relaxng/jing-trang/contributors","subscribers_url":"https://api.github.com/repos/relaxng/jing-trang/subscribers","subscription_url":"https://api.github.com/repos/relaxng/jing-trang/subscription","commits_url":"https://api.github.com/repos/relaxng/jing-trang/commits{/sha}","git_commits_url":"https://api.github.com/repos/relaxng/jing-trang/git/commits{/sha}","comments_url":"https://api.github.com/repos/relaxng/jing-trang/comments{/number}","issue_comment_url":"https://api.github.com/repos/relaxng/jing-trang/issues/comments{/number}","contents_url":"https://api.github.com/repos/relaxng/jing-trang/contents/{+path}","compare_url":"https://api.github.com/repos/relaxng/jing-trang/compare/{base}...{head}","merges_url":"https://api.github.com/repos/relaxng/jing-trang/merges","archive_url":"https://api.github.com/repos/relaxng/jing-trang/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/relaxng/jing-trang/downloads","issues_url":"https://api.github.com/repos/relaxng/jing-trang/issues{/number}","pulls_url":"https://api.github.com/repos/relaxng/jing-trang/pulls{/number}","milestones_url":"https://api.github.com/repos/relaxng/jing-trang/milestones{/number}","notifications_url":"https://api.github.com/repos/relaxng/jing-trang/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/relaxng/jing-trang/labels{/name}","releases_url":"https://api.github.com/repos/relaxng/jing-trang/releases{/id}","deployments_url":"https://api.github.com/repos/relaxng/jing-trang/deployments","created_at":"2015-04-07T14:20:11Z","updated_at":"2018-12-11T23:49:19Z","pushed_at":"2018-12-11T23:49:18Z","git_url":"git://github.com/relaxng/jing-trang.git","ssh_url":"git@github.com:relaxng/jing-trang.git","clone_url":"https://github.com/relaxng/jing-trang.git","svn_url":"https://github.com/relaxng/jing-trang","homepage":"http://www.thaiopensource.com/relaxng/","size":30463,"stargazers_count":109,"watchers_count":109,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":52,"mirror_url":null,"archived":false,"open_issues_count":131,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":52,"open_issues":131,"watchers":109,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/relaxng/jing-trang/pulls/241"},"html":{"href":"https://github.com/relaxng/jing-trang/pull/241"},"issue":{"href":"https://api.github.com/repos/relaxng/jing-trang/issues/241"},"comments":{"href":"https://api.github.com/repos/relaxng/jing-trang/issues/241/comments"},"review_comments":{"href":"https://api.github.com/repos/relaxng/jing-trang/pulls/241/comments"},"review_comment":{"href":"https://api.github.com/repos/relaxng/jing-trang/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/relaxng/jing-trang/pulls/241/commits"},"statuses":{"href":"https://api.github.com/repos/relaxng/jing-trang/statuses/185c0718a1dc0033556ae7c7c0f32d0da3368683"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"rdeltour"}}