{"action":"created","issue":{"url":"https://api.github.com/repos/ISO-TC211/XML/issues/110","labels_url":"https://api.github.com/repos/ISO-TC211/XML/issues/110/labels{/name}","comments_url":"https://api.github.com/repos/ISO-TC211/XML/issues/110/comments","events_url":"https://api.github.com/repos/ISO-TC211/XML/issues/110/events","html_url":"https://github.com/ISO-TC211/XML/issues/110","id":84186922,"number":110,"title":"gts namespace translation","user":{"login":"tedhabermann","id":6888057,"avatar_url":"https://avatars.githubusercontent.com/u/6888057?v=3","gravatar_id":"","url":"https://api.github.com/users/tedhabermann","html_url":"https://github.com/tedhabermann","followers_url":"https://api.github.com/users/tedhabermann/followers","following_url":"https://api.github.com/users/tedhabermann/following{/other_user}","gists_url":"https://api.github.com/users/tedhabermann/gists{/gist_id}","starred_url":"https://api.github.com/users/tedhabermann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tedhabermann/subscriptions","organizations_url":"https://api.github.com/users/tedhabermann/orgs","repos_url":"https://api.github.com/users/tedhabermann/repos","events_url":"https://api.github.com/users/tedhabermann/events{/privacy}","received_events_url":"https://api.github.com/users/tedhabermann/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-02T20:02:56Z","updated_at":"2015-08-24T10:09:47Z","closed_at":null,"body":"```\r\n<mmi:userDefinedMaintenanceFrequency>\r\n   <gts:TM_PeriodDuration\r\n      xmlns:gts=\"http://www.isotc211.org/2005/gts\">P0Y0M0DT6H0M0S</gts:TM_PeriodDuration>\r\n</mmi:userDefinedMaintenanceFrequency>\r\n```\r\nends up in the wrong namespace (should be gco:)"},"comment":{"url":"https://api.github.com/repos/ISO-TC211/XML/issues/comments/134127938","html_url":"https://github.com/ISO-TC211/XML/issues/110#issuecomment-134127938","issue_url":"https://api.github.com/repos/ISO-TC211/XML/issues/110","id":134127938,"user":{"login":"fxprunayre","id":1701393,"avatar_url":"https://avatars.githubusercontent.com/u/1701393?v=3","gravatar_id":"","url":"https://api.github.com/users/fxprunayre","html_url":"https://github.com/fxprunayre","followers_url":"https://api.github.com/users/fxprunayre/followers","following_url":"https://api.github.com/users/fxprunayre/following{/other_user}","gists_url":"https://api.github.com/users/fxprunayre/gists{/gist_id}","starred_url":"https://api.github.com/users/fxprunayre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fxprunayre/subscriptions","organizations_url":"https://api.github.com/users/fxprunayre/orgs","repos_url":"https://api.github.com/users/fxprunayre/repos","events_url":"https://api.github.com/users/fxprunayre/events{/privacy}","received_events_url":"https://api.github.com/users/fxprunayre/received_events","type":"User","site_admin":false},"created_at":"2015-08-24T10:09:47Z","updated_at":"2015-08-24T10:09:47Z","body":"See https://github.com/ISO-TC211/XML/pull/134\r\n\r\n```\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<?xml-stylesheet type=\"text/xsl\" href=\"fromISO19139.xsl\"?>\r\n<MD_Metadata xmlns=\"http://www.isotc211.org/2005/gmd\"\r\n    xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:gml=\"http://www.opengis.net/gml\"\r\n    xmlns:gts=\"http://www.isotc211.org/2005/gts\" xmlns:gco=\"http://www.isotc211.org/2005/gco\"\r\n    xmlns:xlink=\"http://www.w3.org/1999/xlink\"\r\n    xmlns:gmd=\"http://www.isotc211.org/2005/gmd\">\r\n    <fileIdentifier>\r\n        <gco:CharacterString/>\r\n    </fileIdentifier>\r\n    <identificationInfo>\r\n        <MD_DataIdentification>\r\n            <citation>\r\n                <CI_Citation>\r\n                    <title>\r\n                        <gco:CharacterString>gts TO gco mapping</gco:CharacterString>\r\n                    </title>\r\n                </CI_Citation>\r\n            </citation>\r\n            <resourceMaintenance>\r\n\r\n                <MD_MaintenanceInformation>\r\n                    <maintenanceAndUpdateFrequency>\r\n                        <MD_MaintenanceFrequencyCode codeListValue=\"asNeeded\"\r\n                            codeList=\"./resources/codeList.xml#MD_MaintenanceFrequencyCode\"/>\r\n                    </maintenanceAndUpdateFrequency>\r\n                    <userDefinedMaintenanceFrequency>\r\n                        <gts:TM_PeriodDuration>P6Y</gts:TM_PeriodDuration>\r\n                    </userDefinedMaintenanceFrequency>\r\n                </MD_MaintenanceInformation>\r\n            </resourceMaintenance>\r\n        </MD_DataIdentification>\r\n    </identificationInfo>\r\n</MD_Metadata>\r\n\r\n```\r\nis transformed to\r\n```\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<mdb:MD_Metadata xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\r\n                 xmlns:cat=\"http://standards.iso.org/iso/19115/-3/cat/1.0\"\r\n                 xmlns:cit=\"http://standards.iso.org/iso/19115/-3/cit/1.0\"\r\n                 xmlns:gcx=\"http://standards.iso.org/iso/19115/-3/gcx/1.0\"\r\n                 xmlns:gex=\"http://standards.iso.org/iso/19115/-3/gex/1.0\"\r\n                 xmlns:lan=\"http://standards.iso.org/iso/19115/-3/lan/1.0\"\r\n                 xmlns:srv=\"http://standards.iso.org/iso/19115/-3/srv/2.0\"\r\n                 xmlns:mas=\"http://standards.iso.org/iso/19115/-3/mas/1.0\"\r\n                 xmlns:mcc=\"http://standards.iso.org/iso/19115/-3/mcc/1.0\"\r\n                 xmlns:mco=\"http://standards.iso.org/iso/19115/-3/mco/1.0\"\r\n                 xmlns:mda=\"http://standards.iso.org/iso/19115/-3/mda/1.0\"\r\n                 xmlns:mdb=\"http://standards.iso.org/iso/19115/-3/mdb/1.0\"\r\n                 xmlns:mds=\"http://standards.iso.org/iso/19115/-3/mds/1.0\"\r\n                 xmlns:mdt=\"http://standards.iso.org/iso/19115/-3/mdt/1.0\"\r\n                 xmlns:mex=\"http://standards.iso.org/iso/19115/-3/mex/1.0\"\r\n                 xmlns:mmi=\"http://standards.iso.org/iso/19115/-3/mmi/1.0\"\r\n                 xmlns:mpc=\"http://standards.iso.org/iso/19115/-3/mpc/1.0\"\r\n                 xmlns:mrc=\"http://standards.iso.org/iso/19115/-3/mrc/1.0\"\r\n                 xmlns:mrd=\"http://standards.iso.org/iso/19115/-3/mrd/1.0\"\r\n                 xmlns:mri=\"http://standards.iso.org/iso/19115/-3/mri/1.0\"\r\n                 xmlns:mrl=\"http://standards.iso.org/iso/19115/-3/mrl/1.0\"\r\n                 xmlns:mrs=\"http://standards.iso.org/iso/19115/-3/mrs/1.0\"\r\n                 xmlns:msr=\"http://standards.iso.org/iso/19115/-3/msr/1.0\"\r\n                 xmlns:mdq=\"http://standards.iso.org/iso/19157/-2/mdq/1.0\"\r\n                 xmlns:mac=\"http://standards.iso.org/iso/19115/-3/mac/1.0\"\r\n                 xmlns:gco=\"http://standards.iso.org/iso/19115/-3/gco/1.0\"\r\n                 xmlns:gml=\"http://www.opengis.net/gml/3.2\"\r\n                 xmlns:xlink=\"http://www.w3.org/1999/xlink\">\r\n   <mdb:metadataIdentifier>\r\n      <mcc:MD_Identifier>\r\n         <mcc:code>\r\n            <gco:CharacterString/>\r\n         </mcc:code>\r\n      </mcc:MD_Identifier>\r\n   </mdb:metadataIdentifier>\r\n   <mdb:identificationInfo>\r\n      <mri:MD_DataIdentification>\r\n         <mri:citation>\r\n            <cit:CI_Citation>\r\n               <cit:title>\r\n                  <gco:CharacterString>gts TO gco mapping</gco:CharacterString>\r\n               </cit:title>\r\n            </cit:CI_Citation>\r\n         </mri:citation>\r\n         <mri:resourceMaintenance>\r\n            <mmi:MD_MaintenanceInformation>\r\n               <mmi:maintenanceAndUpdateFrequency>\r\n                  <mmi:MD_MaintenanceFrequencyCode codeListValue=\"asNeeded\"\r\n                                                   codeList=\"./resources/codeList.xml#MD_MaintenanceFrequencyCode\"/>\r\n               </mmi:maintenanceAndUpdateFrequency>\r\n               <mmi:userDefinedMaintenanceFrequency>\r\n                  <gco:TM_PeriodDuration>P6Y</gco:TM_PeriodDuration>\r\n               </mmi:userDefinedMaintenanceFrequency>\r\n            </mmi:MD_MaintenanceInformation>\r\n         </mri:resourceMaintenance>\r\n      </mri:MD_DataIdentification>\r\n   </mdb:identificationInfo>\r\n</mdb:MD_Metadata>\r\n\r\n```\r\n"}}