{"action":"created","issue":{"url":"https://api.github.com/repos/openSUSE/dbxincluder/issues/22","repository_url":"https://api.github.com/repos/openSUSE/dbxincluder","labels_url":"https://api.github.com/repos/openSUSE/dbxincluder/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/openSUSE/dbxincluder/issues/22/comments","events_url":"https://api.github.com/repos/openSUSE/dbxincluder/issues/22/events","html_url":"https://github.com/openSUSE/dbxincluder/issues/22","id":155669127,"number":22,"title":"Improve error message (trans:idfixup)","user":{"login":"tomschr","id":1312925,"avatar_url":"https://avatars.githubusercontent.com/u/1312925?v=3","gravatar_id":"","url":"https://api.github.com/users/tomschr","html_url":"https://github.com/tomschr","followers_url":"https://api.github.com/users/tomschr/followers","following_url":"https://api.github.com/users/tomschr/following{/other_user}","gists_url":"https://api.github.com/users/tomschr/gists{/gist_id}","starred_url":"https://api.github.com/users/tomschr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomschr/subscriptions","organizations_url":"https://api.github.com/users/tomschr/orgs","repos_url":"https://api.github.com/users/tomschr/repos","events_url":"https://api.github.com/users/tomschr/events{/privacy}","received_events_url":"https://api.github.com/users/tomschr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openSUSE/dbxincluder/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"Vogtinator","id":1622084,"avatar_url":"https://avatars.githubusercontent.com/u/1622084?v=3","gravatar_id":"","url":"https://api.github.com/users/Vogtinator","html_url":"https://github.com/Vogtinator","followers_url":"https://api.github.com/users/Vogtinator/followers","following_url":"https://api.github.com/users/Vogtinator/following{/other_user}","gists_url":"https://api.github.com/users/Vogtinator/gists{/gist_id}","starred_url":"https://api.github.com/users/Vogtinator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vogtinator/subscriptions","organizations_url":"https://api.github.com/users/Vogtinator/orgs","repos_url":"https://api.github.com/users/Vogtinator/repos","events_url":"https://api.github.com/users/Vogtinator/events{/privacy}","received_events_url":"https://api.github.com/users/Vogtinator/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-05-19T07:17:19Z","updated_at":"2016-05-19T07:37:49Z","closed_at":"2016-05-19T07:37:48Z","body":"According to the [DocBook Transclusion spec](http://docbook.org/docs/transclusion/#idfixup-attribute), the `trans:idfixup` can have one of the values `none`, `suffix`, or `auto`.\r\n\r\nWhen using `trans:idfixup` with `foo` as an invalid value, I get:\r\n\r\n```\r\nError at tests/db/blub.xml:7: idfixup type 'foo' not implemented\r\nIncluded by tests/db/article.01.xml\r\n```\r\n\r\nThe error itself is correct of course, but the message is misleading. I was confused too at a first glance. ;-)\r\nTo make it more clear, I would propose to change it like this:\r\n\r\n```\r\nError at tests/db/blub.xml:7: idfixup contains 'foo', but only 'none', 'suffix', or 'auto' are allowed.\r\n```\r\n\r\nI think that makes it clearer.\r\n"},"comment":{"url":"https://api.github.com/repos/openSUSE/dbxincluder/issues/comments/220249750","html_url":"https://github.com/openSUSE/dbxincluder/issues/22#issuecomment-220249750","issue_url":"https://api.github.com/repos/openSUSE/dbxincluder/issues/22","id":220249750,"user":{"login":"Vogtinator","id":1622084,"avatar_url":"https://avatars.githubusercontent.com/u/1622084?v=3","gravatar_id":"","url":"https://api.github.com/users/Vogtinator","html_url":"https://github.com/Vogtinator","followers_url":"https://api.github.com/users/Vogtinator/followers","following_url":"https://api.github.com/users/Vogtinator/following{/other_user}","gists_url":"https://api.github.com/users/Vogtinator/gists{/gist_id}","starred_url":"https://api.github.com/users/Vogtinator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vogtinator/subscriptions","organizations_url":"https://api.github.com/users/Vogtinator/orgs","repos_url":"https://api.github.com/users/Vogtinator/repos","events_url":"https://api.github.com/users/Vogtinator/events{/privacy}","received_events_url":"https://api.github.com/users/Vogtinator/received_events","type":"User","site_admin":false},"created_at":"2016-05-19T07:37:48Z","updated_at":"2016-05-19T07:37:48Z","body":"Fixed."}}