{"action":"opened","number":420,"pull_request":{"url":"https://api.github.com/repos/xspec/xspec/pulls/420","id":230144286,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMwMTQ0Mjg2","html_url":"https://github.com/xspec/xspec/pull/420","diff_url":"https://github.com/xspec/xspec/pull/420.diff","patch_url":"https://github.com/xspec/xspec/pull/420.patch","issue_url":"https://api.github.com/repos/xspec/xspec/issues/420","number":420,"state":"open","locked":false,"title":"Report whitespace-only text nodes on XQuery","user":{"login":"AirQuick","id":8489367,"node_id":"MDQ6VXNlcjg0ODkzNjc=","avatar_url":"https://avatars3.githubusercontent.com/u/8489367?v=4","gravatar_id":"","url":"https://api.github.com/users/AirQuick","html_url":"https://github.com/AirQuick","followers_url":"https://api.github.com/users/AirQuick/followers","following_url":"https://api.github.com/users/AirQuick/following{/other_user}","gists_url":"https://api.github.com/users/AirQuick/gists{/gist_id}","starred_url":"https://api.github.com/users/AirQuick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AirQuick/subscriptions","organizations_url":"https://api.github.com/users/AirQuick/orgs","repos_url":"https://api.github.com/users/AirQuick/repos","events_url":"https://api.github.com/users/AirQuick/events{/privacy}","received_events_url":"https://api.github.com/users/AirQuick/received_events","type":"User","site_admin":false},"body":"This pull request derives from #419. So needs to be handled after that.\r\n\r\n---\r\n\r\nXSpec for XSLT can report significant whitespace-only text nodes, but XSpec for XQuery can't.\r\n(Compare [XQuery report](https://htmlpreview.github.io/?https://github.com/xspec/xspec/blob/4689e592d53f2317f71759ae0122d4065840591b/test/end-to-end/cases/expected/query/xspec-346-result.html) with [XSLT report](https://htmlpreview.github.io/?https://github.com/xspec/xspec/blob/4689e592d53f2317f71759ae0122d4065840591b/test/end-to-end/cases/expected/stylesheet/xspec-346-result.html) generated from the same [XSpec](https://github.com/xspec/xspec/blob/4689e592d53f2317f71759ae0122d4065840591b/test/end-to-end/cases/xspec-346.xspec). You'll find the difference.)\r\n\r\nThis pull request fixes it by addressing these TODOs:\r\nhttps://github.com/xspec/xspec/blob/4689e592d53f2317f71759ae0122d4065840591b/src/compiler/generate-query-utils.xql#L190-L191\r\nhttps://github.com/xspec/xspec/blob/4689e592d53f2317f71759ae0122d4065840591b/test/end-to-end/cases/xspec-346.xspec#L10\r\n\r\n","created_at":"2018-11-12T14:02:01Z","updated_at":"2018-11-12T14:02:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":265638286,"node_id":"MDU6TGFiZWwyNjU2MzgyODY=","url":"https://api.github.com/repos/xspec/xspec/labels/bug","name":"bug","color":"fc2929","default":true}],"milestone":null,"commits_url":"https://api.github.com/repos/xspec/xspec/pulls/420/commits","review_comments_url":"https://api.github.com/repos/xspec/xspec/pulls/420/comments","review_comment_url":"https://api.github.com/repos/xspec/xspec/pulls/comments{/number}","comments_url":"https://api.github.com/repos/xspec/xspec/issues/420/comments","statuses_url":"https://api.github.com/repos/xspec/xspec/statuses/50a77f1db578c92e71ccc225c42aa94176035e65","head":{"label":"AirQuick:xquery-report-ws","ref":"xquery-report-ws","sha":"50a77f1db578c92e71ccc225c42aa94176035e65","user":{"login":"AirQuick","id":8489367,"node_id":"MDQ6VXNlcjg0ODkzNjc=","avatar_url":"https://avatars3.githubusercontent.com/u/8489367?v=4","gravatar_id":"","url":"https://api.github.com/users/AirQuick","html_url":"https://github.com/AirQuick","followers_url":"https://api.github.com/users/AirQuick/followers","following_url":"https://api.github.com/users/AirQuick/following{/other_user}","gists_url":"https://api.github.com/users/AirQuick/gists{/gist_id}","starred_url":"https://api.github.com/users/AirQuick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AirQuick/subscriptions","organizations_url":"https://api.github.com/users/AirQuick/orgs","repos_url":"https://api.github.com/users/AirQuick/repos","events_url":"https://api.github.com/users/AirQuick/events{/privacy}","received_events_url":"https://api.github.com/users/AirQuick/received_events","type":"User","site_admin":false},"repo":{"id":76672638,"node_id":"MDEwOlJlcG9zaXRvcnk3NjY3MjYzOA==","name":"xspec","full_name":"AirQuick/xspec","private":false,"owner":{"login":"AirQuick","id":8489367,"node_id":"MDQ6VXNlcjg0ODkzNjc=","avatar_url":"https://avatars3.githubusercontent.com/u/8489367?v=4","gravatar_id":"","url":"https://api.github.com/users/AirQuick","html_url":"https://github.com/AirQuick","followers_url":"https://api.github.com/users/AirQuick/followers","following_url":"https://api.github.com/users/AirQuick/following{/other_user}","gists_url":"https://api.github.com/users/AirQuick/gists{/gist_id}","starred_url":"https://api.github.com/users/AirQuick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AirQuick/subscriptions","organizations_url":"https://api.github.com/users/AirQuick/orgs","repos_url":"https://api.github.com/users/AirQuick/repos","events_url":"https://api.github.com/users/AirQuick/events{/privacy}","received_events_url":"https://api.github.com/users/AirQuick/received_events","type":"User","site_admin":false},"html_url":"https://github.com/AirQuick/xspec","description":"XSpec is a unit test and Behaviour Driven Development (BDD) framework for XSLT and XQuery.","fork":true,"url":"https://api.github.com/repos/AirQuick/xspec","forks_url":"https://api.github.com/repos/AirQuick/xspec/forks","keys_url":"https://api.github.com/repos/AirQuick/xspec/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AirQuick/xspec/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AirQuick/xspec/teams","hooks_url":"https://api.github.com/repos/AirQuick/xspec/hooks","issue_events_url":"https://api.github.com/repos/AirQuick/xspec/issues/events{/number}","events_url":"https://api.github.com/repos/AirQuick/xspec/events","assignees_url":"https://api.github.com/repos/AirQuick/xspec/assignees{/user}","branches_url":"https://api.github.com/repos/AirQuick/xspec/branches{/branch}","tags_url":"https://api.github.com/repos/AirQuick/xspec/tags","blobs_url":"https://api.github.com/repos/AirQuick/xspec/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AirQuick/xspec/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AirQuick/xspec/git/refs{/sha}","trees_url":"https://api.github.com/repos/AirQuick/xspec/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AirQuick/xspec/statuses/{sha}","languages_url":"https://api.github.com/repos/AirQuick/xspec/languages","stargazers_url":"https://api.github.com/repos/AirQuick/xspec/stargazers","contributors_url":"https://api.github.com/repos/AirQuick/xspec/contributors","subscribers_url":"https://api.github.com/repos/AirQuick/xspec/subscribers","subscription_url":"https://api.github.com/repos/AirQuick/xspec/subscription","commits_url":"https://api.github.com/repos/AirQuick/xspec/commits{/sha}","git_commits_url":"https://api.github.com/repos/AirQuick/xspec/git/commits{/sha}","comments_url":"https://api.github.com/repos/AirQuick/xspec/comments{/number}","issue_comment_url":"https://api.github.com/repos/AirQuick/xspec/issues/comments{/number}","contents_url":"https://api.github.com/repos/AirQuick/xspec/contents/{+path}","compare_url":"https://api.github.com/repos/AirQuick/xspec/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AirQuick/xspec/merges","archive_url":"https://api.github.com/repos/AirQuick/xspec/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AirQuick/xspec/downloads","issues_url":"https://api.github.com/repos/AirQuick/xspec/issues{/number}","pulls_url":"https://api.github.com/repos/AirQuick/xspec/pulls{/number}","milestones_url":"https://api.github.com/repos/AirQuick/xspec/milestones{/number}","notifications_url":"https://api.github.com/repos/AirQuick/xspec/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AirQuick/xspec/labels{/name}","releases_url":"https://api.github.com/repos/AirQuick/xspec/releases{/id}","deployments_url":"https://api.github.com/repos/AirQuick/xspec/deployments","created_at":"2016-12-16T17:30:17Z","updated_at":"2018-10-30T14:13:22Z","pushed_at":"2018-11-12T13:24:18Z","git_url":"git://github.com/AirQuick/xspec.git","ssh_url":"git@github.com:AirQuick/xspec.git","clone_url":"https://github.com/AirQuick/xspec.git","svn_url":"https://github.com/AirQuick/xspec","homepage":"https://github.com/xspec/xspec/wiki","size":5653,"stargazers_count":1,"watchers_count":1,"language":"XSLT","has_issues":false,"has_projects":false,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"xspec:master","ref":"master","sha":"3e1aa9fe23799e21a0fa5cb97f5d46f34f759b1a","user":{"login":"xspec","id":12800125,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyODAwMTI1","avatar_url":"https://avatars1.githubusercontent.com/u/12800125?v=4","gravatar_id":"","url":"https://api.github.com/users/xspec","html_url":"https://github.com/xspec","followers_url":"https://api.github.com/users/xspec/followers","following_url":"https://api.github.com/users/xspec/following{/other_user}","gists_url":"https://api.github.com/users/xspec/gists{/gist_id}","starred_url":"https://api.github.com/users/xspec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xspec/subscriptions","organizations_url":"https://api.github.com/users/xspec/orgs","repos_url":"https://api.github.com/users/xspec/repos","events_url":"https://api.github.com/users/xspec/events{/privacy}","received_events_url":"https://api.github.com/users/xspec/received_events","type":"Organization","site_admin":false},"repo":{"id":43220156,"node_id":"MDEwOlJlcG9zaXRvcnk0MzIyMDE1Ng==","name":"xspec","full_name":"xspec/xspec","private":false,"owner":{"login":"xspec","id":12800125,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyODAwMTI1","avatar_url":"https://avatars1.githubusercontent.com/u/12800125?v=4","gravatar_id":"","url":"https://api.github.com/users/xspec","html_url":"https://github.com/xspec","followers_url":"https://api.github.com/users/xspec/followers","following_url":"https://api.github.com/users/xspec/following{/other_user}","gists_url":"https://api.github.com/users/xspec/gists{/gist_id}","starred_url":"https://api.github.com/users/xspec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xspec/subscriptions","organizations_url":"https://api.github.com/users/xspec/orgs","repos_url":"https://api.github.com/users/xspec/repos","events_url":"https://api.github.com/users/xspec/events{/privacy}","received_events_url":"https://api.github.com/users/xspec/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/xspec/xspec","description":"XSpec is a unit test and behaviour-driven development (BDD) framework for XSLT, XQuery, and Schematron.","fork":true,"url":"https://api.github.com/repos/xspec/xspec","forks_url":"https://api.github.com/repos/xspec/xspec/forks","keys_url":"https://api.github.com/repos/xspec/xspec/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xspec/xspec/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xspec/xspec/teams","hooks_url":"https://api.github.com/repos/xspec/xspec/hooks","issue_events_url":"https://api.github.com/repos/xspec/xspec/issues/events{/number}","events_url":"https://api.github.com/repos/xspec/xspec/events","assignees_url":"https://api.github.com/repos/xspec/xspec/assignees{/user}","branches_url":"https://api.github.com/repos/xspec/xspec/branches{/branch}","tags_url":"https://api.github.com/repos/xspec/xspec/tags","blobs_url":"https://api.github.com/repos/xspec/xspec/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xspec/xspec/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xspec/xspec/git/refs{/sha}","trees_url":"https://api.github.com/repos/xspec/xspec/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xspec/xspec/statuses/{sha}","languages_url":"https://api.github.com/repos/xspec/xspec/languages","stargazers_url":"https://api.github.com/repos/xspec/xspec/stargazers","contributors_url":"https://api.github.com/repos/xspec/xspec/contributors","subscribers_url":"https://api.github.com/repos/xspec/xspec/subscribers","subscription_url":"https://api.github.com/repos/xspec/xspec/subscription","commits_url":"https://api.github.com/repos/xspec/xspec/commits{/sha}","git_commits_url":"https://api.github.com/repos/xspec/xspec/git/commits{/sha}","comments_url":"https://api.github.com/repos/xspec/xspec/comments{/number}","issue_comment_url":"https://api.github.com/repos/xspec/xspec/issues/comments{/number}","contents_url":"https://api.github.com/repos/xspec/xspec/contents/{+path}","compare_url":"https://api.github.com/repos/xspec/xspec/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xspec/xspec/merges","archive_url":"https://api.github.com/repos/xspec/xspec/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xspec/xspec/downloads","issues_url":"https://api.github.com/repos/xspec/xspec/issues{/number}","pulls_url":"https://api.github.com/repos/xspec/xspec/pulls{/number}","milestones_url":"https://api.github.com/repos/xspec/xspec/milestones{/number}","notifications_url":"https://api.github.com/repos/xspec/xspec/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xspec/xspec/labels{/name}","releases_url":"https://api.github.com/repos/xspec/xspec/releases{/id}","deployments_url":"https://api.github.com/repos/xspec/xspec/deployments","created_at":"2015-09-26T19:42:54Z","updated_at":"2018-10-28T13:25:44Z","pushed_at":"2018-11-12T12:06:05Z","git_url":"git://github.com/xspec/xspec.git","ssh_url":"git@github.com:xspec/xspec.git","clone_url":"https://github.com/xspec/xspec.git","svn_url":"https://github.com/xspec/xspec","homepage":"https://github.com/xspec/xspec/wiki","size":5039,"stargazers_count":44,"watchers_count":44,"language":"XSLT","has_issues":true,"has_projects":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"archived":false,"open_issues_count":183,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":17,"open_issues":183,"watchers":44,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/xspec/xspec/pulls/420"},"html":{"href":"https://github.com/xspec/xspec/pull/420"},"issue":{"href":"https://api.github.com/repos/xspec/xspec/issues/420"},"comments":{"href":"https://api.github.com/repos/xspec/xspec/issues/420/comments"},"review_comments":{"href":"https://api.github.com/repos/xspec/xspec/pulls/420/comments"},"review_comment":{"href":"https://api.github.com/repos/xspec/xspec/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/xspec/xspec/pulls/420/commits"},"statuses":{"href":"https://api.github.com/repos/xspec/xspec/statuses/50a77f1db578c92e71ccc225c42aa94176035e65"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":346,"additions":15547,"deletions":4265,"changed_files":356}}
{"actor":{"display_login":"AirQuick"}}