{"action":"opened","issue":{"url":"https://api.github.com/repos/mitxp/HbbTV-Testsuite/issues/34","labels_url":"https://api.github.com/repos/mitxp/HbbTV-Testsuite/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/mitxp/HbbTV-Testsuite/issues/34/comments","events_url":"https://api.github.com/repos/mitxp/HbbTV-Testsuite/issues/34/events","html_url":"https://github.com/mitxp/HbbTV-Testsuite/issues/34","id":112962472,"number":34,"title":"getSIDescriptors() return null if descriptorTagExtension and privateDataSpecifier does not exist","user":{"login":"liuxunjxys","id":4286905,"avatar_url":"https://avatars.githubusercontent.com/u/4286905?v=3","gravatar_id":"","url":"https://api.github.com/users/liuxunjxys","html_url":"https://github.com/liuxunjxys","followers_url":"https://api.github.com/users/liuxunjxys/followers","following_url":"https://api.github.com/users/liuxunjxys/following{/other_user}","gists_url":"https://api.github.com/users/liuxunjxys/gists{/gist_id}","starred_url":"https://api.github.com/users/liuxunjxys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liuxunjxys/subscriptions","organizations_url":"https://api.github.com/users/liuxunjxys/orgs","repos_url":"https://api.github.com/users/liuxunjxys/repos","events_url":"https://api.github.com/users/liuxunjxys/events{/privacy}","received_events_url":"https://api.github.com/users/liuxunjxys/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-23T06:35:49Z","updated_at":"2015-10-23T06:35:49Z","closed_at":null,"body":"Hi MIT-xperts,\r\n\r\nplease refer to latest OIPF DAE spec in chapter \"7.16.2.4 DVB-SI extensions to Programme\", it says \"If the descriptor specified by descriptorTag and (optionally) descriptorTagExtension and privateDataSpecifier does not exist, this method SHALL return null\"\r\n\r\nso hbbtv MIT testcase at EIT events/Present event descriptors (HbbTV 1.2) the javascript write in this way:\r\ntry {\r\n    descr = evt.getSIDescriptors(descrcodes[0]);\r\n  } catch (e2) {\r\n    showStatus(false, 'Retrieval of descriptors failed');\r\n    return;\r\n  }\r\n\r\nif (!descr || descr.length<1) {\r\n    showStatus(false, 'No descriptor returned');\r\n    return;\r\n  }\r\n\r\nactually descr return null. "}}