{"action":"created","comment":{"url":"https://api.github.com/repos/opendatakit/xforms-spec/pulls/comments/228677624","pull_request_review_id":169015176,"id":228677624,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyODY3NzYyNA==","diff_hunk":"@@ -30,31 +30,36 @@ Given the following ODK XForm definition:\n Full records might look like:\n \n {% highlight xml %}\n-<household id=\"household_survey\" orx:version=\"2018061801\" odk:prefix=\"hh\" odk:delimiter=\"|\">\n+<household id=\"household_survey\" orx:version=\"2018061801\" odk:prefix=\"hh\" odk:delimiter=\"+\">\n \t<meta>\n \t\t<instanceID>uuid:82724cc5-df6f-46bf-86d5-26683ae35d5b</instanceID>\n \t</meta>\n-\t<lastname odk:tag=\"ln\">Bar</lastname>\n-\t<age>10</age>\n+\t<person>\n+\t\t<firstname odk:tag=\"fn\" />\n+\t\t<lastname odk:tag=\"ln\">Bar</lastname>\n+\t\t<age>10</age>\n+\t</person>\n </household>\n {% endhighlight %}\n \n {% highlight xml %}\n-<household id=\"household_survey\" orx:version=\"2018061801\" odk:prefix=\"hh\" odk:delimiter=\"|\">\n+<household id=\"household_survey\" orx:version=\"2018061801\" odk:prefix=\"hh\" odk:delimiter=\"+\">\n \t<meta>\n \t\t<instanceID>uuid:82724cc5-df6f-46bf-86d5-26683ae35d5b</instanceID>\n \t</meta>\n-\t<firstname odk:tag=\"fn\">Mary Kate</firstname>\n-\t<lastname odk:tag=\"ln\">Doe</lastname>\n-\t<age>15</age>\n+\t<person>\n+\t\t<firstname odk:tag=\"fn\">Mary Kate</firstname>\n+\t\t<lastname odk:tag=\"ln\">Doe</lastname>\n+\t\t<age>15</age>\n+\t</person>\n </household>\n {% endhighlight %}\n \n The compact representations of those records would be:\n-`hh|fn||ln|Bar`\n+`hh+ln+Bar`\n \n-`hh|fn|Mary Kate|ln|Doe`\n+`hh+fn+Mary Kate+ln+Doe`\n \n-If the delimiter is included in one of the question values, it will be prepended by a slash. For example, the first name `\"Mary|Kate\"` would be represented as `\"Mary\\|Kate\"`\n+If the delimiter is included in one of the question values, it will be prepended by a slash. For example, the first name `\"Mary Kate\"` would be represented as `\"Mary\\ Kate\"` if the default space delimiter is used.\n \n-As in the regular representation, nodes that are not relevant are not included in the compact representation, even if the `tag` attribute is defined.\n\\ No newline at end of file\n+As in the regular representation, nodes that are not relevant are not included in the compact representation. Unlike in the regular representation, nodes that are relevant but empty are not included in the compact representation, even if they have an `odk:tag`.","path":"_sections/93-compact-representation.md","position":65,"original_position":65,"commit_id":"02c16de8c4698b20012fef949d371cdd25314596","original_commit_id":"7f076f7beac49d86e9c8c43334fea4ef899b0c9d","user":{"login":"lognaturel","id":967540,"node_id":"MDQ6VXNlcjk2NzU0MA==","avatar_url":"https://avatars3.githubusercontent.com/u/967540?v=4","gravatar_id":"","url":"https://api.github.com/users/lognaturel","html_url":"https://github.com/lognaturel","followers_url":"https://api.github.com/users/lognaturel/followers","following_url":"https://api.github.com/users/lognaturel/following{/other_user}","gists_url":"https://api.github.com/users/lognaturel/gists{/gist_id}","starred_url":"https://api.github.com/users/lognaturel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lognaturel/subscriptions","organizations_url":"https://api.github.com/users/lognaturel/orgs","repos_url":"https://api.github.com/users/lognaturel/repos","events_url":"https://api.github.com/users/lognaturel/events{/privacy}","received_events_url":"https://api.github.com/users/lognaturel/received_events","type":"User","site_admin":false},"body":"(It can be changed with minimal impact because either users are parsing the results by looking for the tag names or they're using position in which case they expect every node to be populated and hopefully are making the questions required)","created_at":"2018-10-26T22:05:56Z","updated_at":"2018-10-26T22:05:57Z","html_url":"https://github.com/opendatakit/xforms-spec/pull/215#discussion_r228677624","pull_request_url":"https://api.github.com/repos/opendatakit/xforms-spec/pulls/215","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/opendatakit/xforms-spec/pulls/comments/228677624"},"html":{"href":"https://github.com/opendatakit/xforms-spec/pull/215#discussion_r228677624"},"pull_request":{"href":"https://api.github.com/repos/opendatakit/xforms-spec/pulls/215"}},"in_reply_to_id":228676073},"pull_request":{"url":"https://api.github.com/repos/opendatakit/xforms-spec/pulls/215","id":226234402,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI2MjM0NDAy","html_url":"https://github.com/opendatakit/xforms-spec/pull/215","diff_url":"https://github.com/opendatakit/xforms-spec/pull/215.diff","patch_url":"https://github.com/opendatakit/xforms-spec/pull/215.patch","issue_url":"https://api.github.com/repos/opendatakit/xforms-spec/issues/215","number":215,"state":"open","locked":false,"title":"Fix encryption link, compact representation examples and confusing reference to Excel","user":{"login":"lognaturel","id":967540,"node_id":"MDQ6VXNlcjk2NzU0MA==","avatar_url":"https://avatars3.githubusercontent.com/u/967540?v=4","gravatar_id":"","url":"https://api.github.com/users/lognaturel","html_url":"https://github.com/lognaturel","followers_url":"https://api.github.com/users/lognaturel/followers","following_url":"https://api.github.com/users/lognaturel/following{/other_user}","gists_url":"https://api.github.com/users/lognaturel/gists{/gist_id}","starred_url":"https://api.github.com/users/lognaturel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lognaturel/subscriptions","organizations_url":"https://api.github.com/users/lognaturel/orgs","repos_url":"https://api.github.com/users/lognaturel/repos","events_url":"https://api.github.com/users/lognaturel/events{/privacy}","received_events_url":"https://api.github.com/users/lognaturel/received_events","type":"User","site_admin":false},"body":"Closes #213 \r\n\r\nI lumped a couple of small changes together hoping that they'll be easy to review commit by commit. \r\n\r\nThe middle commit is the interesting one that fixes some things in the section about compact representation where I got some things backwards in the original pass. @MartijnR, @alxndrsn Please make sure I got it right this time.","created_at":"2018-10-26T21:45:38Z","updated_at":"2018-10-26T22:05:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a893460543966936bcc447e3175874309d5480a0","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/opendatakit/xforms-spec/pulls/215/commits","review_comments_url":"https://api.github.com/repos/opendatakit/xforms-spec/pulls/215/comments","review_comment_url":"https://api.github.com/repos/opendatakit/xforms-spec/pulls/comments{/number}","comments_url":"https://api.github.com/repos/opendatakit/xforms-spec/issues/215/comments","statuses_url":"https://api.github.com/repos/opendatakit/xforms-spec/statuses/02c16de8c4698b20012fef949d371cdd25314596","head":{"label":"opendatakit:fix/links-from-encryption-page","ref":"fix/links-from-encryption-page","sha":"02c16de8c4698b20012fef949d371cdd25314596","user":{"login":"opendatakit","id":6222985,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyMjI5ODU=","avatar_url":"https://avatars0.githubusercontent.com/u/6222985?v=4","gravatar_id":"","url":"https://api.github.com/users/opendatakit","html_url":"https://github.com/opendatakit","followers_url":"https://api.github.com/users/opendatakit/followers","following_url":"https://api.github.com/users/opendatakit/following{/other_user}","gists_url":"https://api.github.com/users/opendatakit/gists{/gist_id}","starred_url":"https://api.github.com/users/opendatakit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opendatakit/subscriptions","organizations_url":"https://api.github.com/users/opendatakit/orgs","repos_url":"https://api.github.com/users/opendatakit/repos","events_url":"https://api.github.com/users/opendatakit/events{/privacy}","received_events_url":"https://api.github.com/users/opendatakit/received_events","type":"Organization","site_admin":false},"repo":{"id":23479028,"node_id":"MDEwOlJlcG9zaXRvcnkyMzQ3OTAyOA==","name":"xforms-spec","full_name":"opendatakit/xforms-spec","private":false,"owner":{"login":"opendatakit","id":6222985,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyMjI5ODU=","avatar_url":"https://avatars0.githubusercontent.com/u/6222985?v=4","gravatar_id":"","url":"https://api.github.com/users/opendatakit","html_url":"https://github.com/opendatakit","followers_url":"https://api.github.com/users/opendatakit/followers","following_url":"https://api.github.com/users/opendatakit/following{/other_user}","gists_url":"https://api.github.com/users/opendatakit/gists{/gist_id}","starred_url":"https://api.github.com/users/opendatakit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opendatakit/subscriptions","organizations_url":"https://api.github.com/users/opendatakit/orgs","repos_url":"https://api.github.com/users/opendatakit/repos","events_url":"https://api.github.com/users/opendatakit/events{/privacy}","received_events_url":"https://api.github.com/users/opendatakit/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/opendatakit/xforms-spec","description":"The XForms-derived specification used in the ODK ecosystem. If you are interested in building a tool that is compliant with the forms rendered by ODK tools, this is the place to start. ✨⚒✨","fork":false,"url":"https://api.github.com/repos/opendatakit/xforms-spec","forks_url":"https://api.github.com/repos/opendatakit/xforms-spec/forks","keys_url":"https://api.github.com/repos/opendatakit/xforms-spec/keys{/key_id}","collaborators_url":"https://api.github.com/repos/opendatakit/xforms-spec/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/opendatakit/xforms-spec/teams","hooks_url":"https://api.github.com/repos/opendatakit/xforms-spec/hooks","issue_events_url":"https://api.github.com/repos/opendatakit/xforms-spec/issues/events{/number}","events_url":"https://api.github.com/repos/opendatakit/xforms-spec/events","assignees_url":"https://api.github.com/repos/opendatakit/xforms-spec/assignees{/user}","branches_url":"https://api.github.com/repos/opendatakit/xforms-spec/branches{/branch}","tags_url":"https://api.github.com/repos/opendatakit/xforms-spec/tags","blobs_url":"https://api.github.com/repos/opendatakit/xforms-spec/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/opendatakit/xforms-spec/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/opendatakit/xforms-spec/git/refs{/sha}","trees_url":"https://api.github.com/repos/opendatakit/xforms-spec/git/trees{/sha}","statuses_url":"https://api.github.com/repos/opendatakit/xforms-spec/statuses/{sha}","languages_url":"https://api.github.com/repos/opendatakit/xforms-spec/languages","stargazers_url":"https://api.github.com/repos/opendatakit/xforms-spec/stargazers","contributors_url":"https://api.github.com/repos/opendatakit/xforms-spec/contributors","subscribers_url":"https://api.github.com/repos/opendatakit/xforms-spec/subscribers","subscription_url":"https://api.github.com/repos/opendatakit/xforms-spec/subscription","commits_url":"https://api.github.com/repos/opendatakit/xforms-spec/commits{/sha}","git_commits_url":"https://api.github.com/repos/opendatakit/xforms-spec/git/commits{/sha}","comments_url":"https://api.github.com/repos/opendatakit/xforms-spec/comments{/number}","issue_comment_url":"https://api.github.com/repos/opendatakit/xforms-spec/issues/comments{/number}","contents_url":"https://api.github.com/repos/opendatakit/xforms-spec/contents/{+path}","compare_url":"https://api.github.com/repos/opendatakit/xforms-spec/compare/{base}...{head}","merges_url":"https://api.github.com/repos/opendatakit/xforms-spec/merges","archive_url":"https://api.github.com/repos/opendatakit/xforms-spec/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/opendatakit/xforms-spec/downloads","issues_url":"https://api.github.com/repos/opendatakit/xforms-spec/issues{/number}","pulls_url":"https://api.github.com/repos/opendatakit/xforms-spec/pulls{/number}","milestones_url":"https://api.github.com/repos/opendatakit/xforms-spec/milestones{/number}","notifications_url":"https://api.github.com/repos/opendatakit/xforms-spec/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/opendatakit/xforms-spec/labels{/name}","releases_url":"https://api.github.com/repos/opendatakit/xforms-spec/releases{/id}","deployments_url":"https://api.github.com/repos/opendatakit/xforms-spec/deployments","created_at":"2014-08-29T22:02:02Z","updated_at":"2018-10-08T05:58:38Z","pushed_at":"2018-10-26T21:45:38Z","git_url":"git://github.com/opendatakit/xforms-spec.git","ssh_url":"git@github.com:opendatakit/xforms-spec.git","clone_url":"https://github.com/opendatakit/xforms-spec.git","svn_url":"https://github.com/opendatakit/xforms-spec","homepage":"https://opendatakit.github.io/xforms-spec/","size":149,"stargazers_count":14,"watchers_count":14,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":12,"mirror_url":null,"archived":false,"open_issues_count":37,"license":null,"forks":12,"open_issues":37,"watchers":14,"default_branch":"gh-pages"}},"base":{"label":"opendatakit:gh-pages","ref":"gh-pages","sha":"69b6782a7c48fce99c996818cfed405ab1e16c8b","user":{"login":"opendatakit","id":6222985,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyMjI5ODU=","avatar_url":"https://avatars0.githubusercontent.com/u/6222985?v=4","gravatar_id":"","url":"https://api.github.com/users/opendatakit","html_url":"https://github.com/opendatakit","followers_url":"https://api.github.com/users/opendatakit/followers","following_url":"https://api.github.com/users/opendatakit/following{/other_user}","gists_url":"https://api.github.com/users/opendatakit/gists{/gist_id}","starred_url":"https://api.github.com/users/opendatakit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opendatakit/subscriptions","organizations_url":"https://api.github.com/users/opendatakit/orgs","repos_url":"https://api.github.com/users/opendatakit/repos","events_url":"https://api.github.com/users/opendatakit/events{/privacy}","received_events_url":"https://api.github.com/users/opendatakit/received_events","type":"Organization","site_admin":false},"repo":{"id":23479028,"node_id":"MDEwOlJlcG9zaXRvcnkyMzQ3OTAyOA==","name":"xforms-spec","full_name":"opendatakit/xforms-spec","private":false,"owner":{"login":"opendatakit","id":6222985,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyMjI5ODU=","avatar_url":"https://avatars0.githubusercontent.com/u/6222985?v=4","gravatar_id":"","url":"https://api.github.com/users/opendatakit","html_url":"https://github.com/opendatakit","followers_url":"https://api.github.com/users/opendatakit/followers","following_url":"https://api.github.com/users/opendatakit/following{/other_user}","gists_url":"https://api.github.com/users/opendatakit/gists{/gist_id}","starred_url":"https://api.github.com/users/opendatakit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opendatakit/subscriptions","organizations_url":"https://api.github.com/users/opendatakit/orgs","repos_url":"https://api.github.com/users/opendatakit/repos","events_url":"https://api.github.com/users/opendatakit/events{/privacy}","received_events_url":"https://api.github.com/users/opendatakit/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/opendatakit/xforms-spec","description":"The XForms-derived specification used in the ODK ecosystem. If you are interested in building a tool that is compliant with the forms rendered by ODK tools, this is the place to start. ✨⚒✨","fork":false,"url":"https://api.github.com/repos/opendatakit/xforms-spec","forks_url":"https://api.github.com/repos/opendatakit/xforms-spec/forks","keys_url":"https://api.github.com/repos/opendatakit/xforms-spec/keys{/key_id}","collaborators_url":"https://api.github.com/repos/opendatakit/xforms-spec/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/opendatakit/xforms-spec/teams","hooks_url":"https://api.github.com/repos/opendatakit/xforms-spec/hooks","issue_events_url":"https://api.github.com/repos/opendatakit/xforms-spec/issues/events{/number}","events_url":"https://api.github.com/repos/opendatakit/xforms-spec/events","assignees_url":"https://api.github.com/repos/opendatakit/xforms-spec/assignees{/user}","branches_url":"https://api.github.com/repos/opendatakit/xforms-spec/branches{/branch}","tags_url":"https://api.github.com/repos/opendatakit/xforms-spec/tags","blobs_url":"https://api.github.com/repos/opendatakit/xforms-spec/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/opendatakit/xforms-spec/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/opendatakit/xforms-spec/git/refs{/sha}","trees_url":"https://api.github.com/repos/opendatakit/xforms-spec/git/trees{/sha}","statuses_url":"https://api.github.com/repos/opendatakit/xforms-spec/statuses/{sha}","languages_url":"https://api.github.com/repos/opendatakit/xforms-spec/languages","stargazers_url":"https://api.github.com/repos/opendatakit/xforms-spec/stargazers","contributors_url":"https://api.github.com/repos/opendatakit/xforms-spec/contributors","subscribers_url":"https://api.github.com/repos/opendatakit/xforms-spec/subscribers","subscription_url":"https://api.github.com/repos/opendatakit/xforms-spec/subscription","commits_url":"https://api.github.com/repos/opendatakit/xforms-spec/commits{/sha}","git_commits_url":"https://api.github.com/repos/opendatakit/xforms-spec/git/commits{/sha}","comments_url":"https://api.github.com/repos/opendatakit/xforms-spec/comments{/number}","issue_comment_url":"https://api.github.com/repos/opendatakit/xforms-spec/issues/comments{/number}","contents_url":"https://api.github.com/repos/opendatakit/xforms-spec/contents/{+path}","compare_url":"https://api.github.com/repos/opendatakit/xforms-spec/compare/{base}...{head}","merges_url":"https://api.github.com/repos/opendatakit/xforms-spec/merges","archive_url":"https://api.github.com/repos/opendatakit/xforms-spec/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/opendatakit/xforms-spec/downloads","issues_url":"https://api.github.com/repos/opendatakit/xforms-spec/issues{/number}","pulls_url":"https://api.github.com/repos/opendatakit/xforms-spec/pulls{/number}","milestones_url":"https://api.github.com/repos/opendatakit/xforms-spec/milestones{/number}","notifications_url":"https://api.github.com/repos/opendatakit/xforms-spec/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/opendatakit/xforms-spec/labels{/name}","releases_url":"https://api.github.com/repos/opendatakit/xforms-spec/releases{/id}","deployments_url":"https://api.github.com/repos/opendatakit/xforms-spec/deployments","created_at":"2014-08-29T22:02:02Z","updated_at":"2018-10-08T05:58:38Z","pushed_at":"2018-10-26T21:45:38Z","git_url":"git://github.com/opendatakit/xforms-spec.git","ssh_url":"git@github.com:opendatakit/xforms-spec.git","clone_url":"https://github.com/opendatakit/xforms-spec.git","svn_url":"https://github.com/opendatakit/xforms-spec","homepage":"https://opendatakit.github.io/xforms-spec/","size":149,"stargazers_count":14,"watchers_count":14,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":12,"mirror_url":null,"archived":false,"open_issues_count":37,"license":null,"forks":12,"open_issues":37,"watchers":14,"default_branch":"gh-pages"}},"_links":{"self":{"href":"https://api.github.com/repos/opendatakit/xforms-spec/pulls/215"},"html":{"href":"https://github.com/opendatakit/xforms-spec/pull/215"},"issue":{"href":"https://api.github.com/repos/opendatakit/xforms-spec/issues/215"},"comments":{"href":"https://api.github.com/repos/opendatakit/xforms-spec/issues/215/comments"},"review_comments":{"href":"https://api.github.com/repos/opendatakit/xforms-spec/pulls/215/comments"},"review_comment":{"href":"https://api.github.com/repos/opendatakit/xforms-spec/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/opendatakit/xforms-spec/pulls/215/commits"},"statuses":{"href":"https://api.github.com/repos/opendatakit/xforms-spec/statuses/02c16de8c4698b20012fef949d371cdd25314596"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"lognaturel"}}