{"action":"closed","issue":{"url":"https://api.github.com/repos/Microsoft/XLIFF2-Object-Model/issues/2","repository_url":"https://api.github.com/repos/Microsoft/XLIFF2-Object-Model","labels_url":"https://api.github.com/repos/Microsoft/XLIFF2-Object-Model/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/XLIFF2-Object-Model/issues/2/comments","events_url":"https://api.github.com/repos/Microsoft/XLIFF2-Object-Model/issues/2/events","html_url":"https://github.com/Microsoft/XLIFF2-Object-Model/issues/2","id":119065907,"number":2,"title":"The validator shouldn't validate any <ec/> tags which have both id and startRef attributes set","user":{"login":"rabularca","id":15910133,"avatar_url":"https://avatars.githubusercontent.com/u/15910133?v=3","gravatar_id":"","url":"https://api.github.com/users/rabularca","html_url":"https://github.com/rabularca","followers_url":"https://api.github.com/users/rabularca/followers","following_url":"https://api.github.com/users/rabularca/following{/other_user}","gists_url":"https://api.github.com/users/rabularca/gists{/gist_id}","starred_url":"https://api.github.com/users/rabularca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rabularca/subscriptions","organizations_url":"https://api.github.com/users/rabularca/orgs","repos_url":"https://api.github.com/users/rabularca/repos","events_url":"https://api.github.com/users/rabularca/events{/privacy}","received_events_url":"https://api.github.com/users/rabularca/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-26T15:35:47Z","updated_at":"2016-02-11T00:58:52Z","closed_at":"2016-02-11T00:58:52Z","body":"According to the [Xliff 2.0 Documentation](http://docs.oasis-open.org/xliff/xliff-core/v2.0/xliff-core-v2.0.html#ec), the \\<ec/> tag must set the id attribute only when the isolated attribute is set to \"yes\" and in the case in which the isolated attribute is set to \"no\", then the startRef attribute must be used instead of the id attribute:\r\n>If and only if the attribute isolated is set to yes, the attribute id MUST be used instead of the attribute startRef that MUST be used otherwise.\r\n\r\nFor example, the tag \\<ec startRef=\"1\" id=\"2\"/> should not be validated by the OM."}}