{"action":"created","issue":{"url":"https://api.github.com/repos/dita-ot/dita-ot/issues/2322","repository_url":"https://api.github.com/repos/dita-ot/dita-ot","labels_url":"https://api.github.com/repos/dita-ot/dita-ot/issues/2322/labels{/name}","comments_url":"https://api.github.com/repos/dita-ot/dita-ot/issues/2322/comments","events_url":"https://api.github.com/repos/dita-ot/dita-ot/issues/2322/events","html_url":"https://github.com/dita-ot/dita-ot/pull/2322","id":150474554,"number":2322,"title":"Fix for issue #2321","user":{"login":"shaneataylor","id":9557777,"avatar_url":"https://avatars.githubusercontent.com/u/9557777?v=3","gravatar_id":"","url":"https://api.github.com/users/shaneataylor","html_url":"https://github.com/shaneataylor","followers_url":"https://api.github.com/users/shaneataylor/followers","following_url":"https://api.github.com/users/shaneataylor/following{/other_user}","gists_url":"https://api.github.com/users/shaneataylor/gists{/gist_id}","starred_url":"https://api.github.com/users/shaneataylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shaneataylor/subscriptions","organizations_url":"https://api.github.com/users/shaneataylor/orgs","repos_url":"https://api.github.com/users/shaneataylor/repos","events_url":"https://api.github.com/users/shaneataylor/events{/privacy}","received_events_url":"https://api.github.com/users/shaneataylor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-22T21:24:46Z","updated_at":"2016-04-25T13:49:08Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dita-ot/dita-ot/pulls/2322","html_url":"https://github.com/dita-ot/dita-ot/pull/2322","diff_url":"https://github.com/dita-ot/dita-ot/pull/2322.diff","patch_url":"https://github.com/dita-ot/dita-ot/pull/2322.patch"},"body":"This addresses #2321 by returning a `#none#` type for the targets of topicsetref elements (and their descendants). Current processing returns 'topicset' which causes build warnings because the referenced topics are concept, task, reference, etc."},"comment":{"url":"https://api.github.com/repos/dita-ot/dita-ot/issues/comments/214336528","html_url":"https://github.com/dita-ot/dita-ot/pull/2322#issuecomment-214336528","issue_url":"https://api.github.com/repos/dita-ot/dita-ot/issues/2322","id":214336528,"user":{"login":"robander","id":1649639,"avatar_url":"https://avatars.githubusercontent.com/u/1649639?v=3","gravatar_id":"","url":"https://api.github.com/users/robander","html_url":"https://github.com/robander","followers_url":"https://api.github.com/users/robander/followers","following_url":"https://api.github.com/users/robander/following{/other_user}","gists_url":"https://api.github.com/users/robander/gists{/gist_id}","starred_url":"https://api.github.com/users/robander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robander/subscriptions","organizations_url":"https://api.github.com/users/robander/orgs","repos_url":"https://api.github.com/users/robander/repos","events_url":"https://api.github.com/users/robander/events{/privacy}","received_events_url":"https://api.github.com/users/robander/received_events","type":"User","site_admin":false},"created_at":"2016-04-25T13:49:08Z","updated_at":"2016-04-25T13:49:08Z","body":"Added a question in #2321 about this -- I think that either the current warning is valid, or else we need a more general fix. The more general one might actually be simpler than the one here; today, the code looks for a target that exactly matches `@type` (such as `type=\"topicset\"` that refers to an actual `<topicset>`). If that fails, it looks for `@type/@type` in the `@class` value on the target - such as \"task/task\" to see if your reference is to a task or specialized task. We could make this more general and simply look for `/@type` -- this way `type=\"topicset\"` would be valid for a reference to both `<topicset>` or to a specialized `<topicset>`."}}