{"action":"closed","issue":{"url":"https://api.github.com/repos/sdmx-twg/sdmx-ml-v2_1/issues/3","labels_url":"https://api.github.com/repos/sdmx-twg/sdmx-ml-v2_1/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/sdmx-twg/sdmx-ml-v2_1/issues/3/comments","events_url":"https://api.github.com/repos/sdmx-twg/sdmx-ml-v2_1/issues/3/events","html_url":"https://github.com/sdmx-twg/sdmx-ml-v2_1/issues/3","id":93254853,"number":3,"title":"Problem with the OrganisationReferenceType in XML Schemas","user":{"login":"airosa","id":940075,"avatar_url":"https://avatars.githubusercontent.com/u/940075?v=3","gravatar_id":"","url":"https://api.github.com/users/airosa","html_url":"https://github.com/airosa","followers_url":"https://api.github.com/users/airosa/followers","following_url":"https://api.github.com/users/airosa/following{/other_user}","gists_url":"https://api.github.com/users/airosa/gists{/gist_id}","starred_url":"https://api.github.com/users/airosa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/airosa/subscriptions","organizations_url":"https://api.github.com/users/airosa/orgs","repos_url":"https://api.github.com/users/airosa/repos","events_url":"https://api.github.com/users/airosa/events{/privacy}","received_events_url":"https://api.github.com/users/airosa/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sdmx-twg/sdmx-ml-v2_1/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-06T11:21:56Z","updated_at":"2015-07-07T10:30:37Z","closed_at":"2015-07-07T10:30:37Z","body":"This issue was originally reported by @stratosn as IREF000026. It is migrated from eBIS.\r\n\r\nThe OrganisationRefenceType used within the Subscription messages does not allow inserting a proper Organisation reference. The problem is that there is a bug in the original SDMX 2.1 XSD SDMXCommonReferences.xsd, where the OrganisationReferenceType includes an element of type OrganisationRefBaseType, which is abstract. The latter element should change to type OrganisationRefType.\r\n\r\nExample:\r\n\r\n````\r\n<?xml version=\"1.0\" ?>\r\n<mes:RegistryInterface xmlns:com=\"http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common\" xmlns:mes=\"http://www.sdmx.org/resources/sdmxml/schemas/v2_1/message\"\r\n  xmlns:reg=\"http://www.sdmx.org/resources/sdmxml/schemas/v2_1/registry\" xmlns:str=\"http://www.sdmx.org/resources/sdmxml/schemas/v2_1/structure\"\r\n  xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n  <mes:Header>\r\n    <mes:ID>TEST_INIT_STRUCTURES</mes:ID>\r\n    <mes:Test>true</mes:Test>\r\n    <mes:Prepared>2013-02-01T12:48:18</mes:Prepared>\r\n    <mes:Sender id=\"ESTAT\"/>\r\n    <mes:Receiver id=\"GSR\"/>\r\n  </mes:Header>\r\n  <mes:QuerySubscriptionRequest>\r\n    <reg:Organisation>\r\n      <Ref agencyID=\"ESTAT\" class=\"Agency\" id=\"ORG\" maintainableParentID=\"ORG_SCHEME\" maintainableParentVersion=\"1.0\"/>\r\n    </reg:Organisation>\r\n  </mes:QuerySubscriptionRequest>\r\n</mes:RegistryInterface>\r\n```` \r\n\r\n\r\nProposed fix: \r\n\r\nreplace (line 1397):\r\n\r\n    <xs:element name=\"Ref\" type=\"OrganisationRefBaseType\" form=\"unqualified\"/>\r\n\r\nwith \r\n\r\n    <xs:element name=\"Ref\" type=\"OrganisationRefType\"  form=\"unqualified\"/>"}}