{"action":"created","issue":{"url":"https://api.github.com/repos/sul-dlss/argo/issues/71","labels_url":"https://api.github.com/repos/sul-dlss/argo/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/sul-dlss/argo/issues/71/comments","events_url":"https://api.github.com/repos/sul-dlss/argo/issues/71/events","html_url":"https://github.com/sul-dlss/argo/issues/71","id":114496367,"number":71,"title":"Register/edit APO - fix the generated defaultObjectRIghts XML","user":{"login":"LynnMcRae","id":1824732,"avatar_url":"https://avatars.githubusercontent.com/u/1824732?v=3","gravatar_id":"","url":"https://api.github.com/users/LynnMcRae","html_url":"https://github.com/LynnMcRae","followers_url":"https://api.github.com/users/LynnMcRae/followers","following_url":"https://api.github.com/users/LynnMcRae/following{/other_user}","gists_url":"https://api.github.com/users/LynnMcRae/gists{/gist_id}","starred_url":"https://api.github.com/users/LynnMcRae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LynnMcRae/subscriptions","organizations_url":"https://api.github.com/users/LynnMcRae/orgs","repos_url":"https://api.github.com/users/LynnMcRae/repos","events_url":"https://api.github.com/users/LynnMcRae/events{/privacy}","received_events_url":"https://api.github.com/users/LynnMcRae/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sul-dlss/argo/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/sul-dlss/argo/labels/feature%20parity","name":"feature parity","color":"0052cc"}],"state":"open","locked":false,"assignee":{"login":"drh-stanford","id":1861171,"avatar_url":"https://avatars.githubusercontent.com/u/1861171?v=3","gravatar_id":"","url":"https://api.github.com/users/drh-stanford","html_url":"https://github.com/drh-stanford","followers_url":"https://api.github.com/users/drh-stanford/followers","following_url":"https://api.github.com/users/drh-stanford/following{/other_user}","gists_url":"https://api.github.com/users/drh-stanford/gists{/gist_id}","starred_url":"https://api.github.com/users/drh-stanford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drh-stanford/subscriptions","organizations_url":"https://api.github.com/users/drh-stanford/orgs","repos_url":"https://api.github.com/users/drh-stanford/repos","events_url":"https://api.github.com/users/drh-stanford/events{/privacy}","received_events_url":"https://api.github.com/users/drh-stanford/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/sul-dlss/argo/milestones/2","html_url":"https://github.com/sul-dlss/argo/milestones/Sprint%202","labels_url":"https://api.github.com/repos/sul-dlss/argo/milestones/2/labels","id":1402780,"number":2,"title":"Sprint 2","description":"High level goals:\r\n\r\n - Deploy to stage and solr index\r\n - Replayable spreadsheets working in stage\r\n - ~~Bulk updating features~~ Moved to backlog, this is big\r\n\r\n","creator":{"login":"mejackreed","id":1656824,"avatar_url":"https://avatars.githubusercontent.com/u/1656824?v=3","gravatar_id":"","url":"https://api.github.com/users/mejackreed","html_url":"https://github.com/mejackreed","followers_url":"https://api.github.com/users/mejackreed/followers","following_url":"https://api.github.com/users/mejackreed/following{/other_user}","gists_url":"https://api.github.com/users/mejackreed/gists{/gist_id}","starred_url":"https://api.github.com/users/mejackreed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mejackreed/subscriptions","organizations_url":"https://api.github.com/users/mejackreed/orgs","repos_url":"https://api.github.com/users/mejackreed/repos","events_url":"https://api.github.com/users/mejackreed/events{/privacy}","received_events_url":"https://api.github.com/users/mejackreed/received_events","type":"User","site_admin":false},"open_issues":15,"closed_issues":6,"state":"open","created_at":"2015-11-09T18:37:04Z","updated_at":"2015-11-12T00:55:07Z","due_on":"2015-11-16T08:00:00Z","closed_at":null},"comments":10,"created_at":"2015-11-01T22:10:24Z","updated_at":"2015-11-14T04:23:45Z","closed_at":null,"body":"In the defaultObjectRights datastream we are getting empty elements, like \r\n\r\n```\r\n    <human type=\"creativeCommons\"/> \r\n    <machine type=\"creativeCommons\"/> \r\n```\r\nand empty containers, like \r\n\r\n```\r\n  <copyright> \r\n    <human/> \r\n  </copyright> \r\n```\r\nEither don't generate empty tags or do the XML cleanup thing we do."},"comment":{"url":"https://api.github.com/repos/sul-dlss/argo/issues/comments/156625074","html_url":"https://github.com/sul-dlss/argo/issues/71#issuecomment-156625074","issue_url":"https://api.github.com/repos/sul-dlss/argo/issues/71","id":156625074,"user":{"login":"tingulfsen","id":3740294,"avatar_url":"https://avatars.githubusercontent.com/u/3740294?v=3","gravatar_id":"","url":"https://api.github.com/users/tingulfsen","html_url":"https://github.com/tingulfsen","followers_url":"https://api.github.com/users/tingulfsen/followers","following_url":"https://api.github.com/users/tingulfsen/following{/other_user}","gists_url":"https://api.github.com/users/tingulfsen/gists{/gist_id}","starred_url":"https://api.github.com/users/tingulfsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tingulfsen/subscriptions","organizations_url":"https://api.github.com/users/tingulfsen/orgs","repos_url":"https://api.github.com/users/tingulfsen/repos","events_url":"https://api.github.com/users/tingulfsen/events{/privacy}","received_events_url":"https://api.github.com/users/tingulfsen/received_events","type":"User","site_admin":false},"created_at":"2015-11-14T04:23:45Z","updated_at":"2015-11-14T04:23:45Z","body":"1. The MODSulator just uses the <mods> declaration in the XML template to generate XML. If XML is input, it makes no changes at all to any namespaces.\r\n\r\n2. Validation is currently only provided for the built-in <xmlDocs> schema.\r\n\r\n3. There's no actual lookup of namespaces. The code assumes that its input corresponds to its built-in schema (i.e. what is produced from spreadsheets).\r\n\r\n5. Yeah, I think we can use REXML, a built-in Ruby library, for this.\r\n\r\nI'm pretty sure we can come to agreement on all this stuff on Monday."}}