{"action":"opened","issue":{"url":"https://api.github.com/repos/bndtools/bnd/issues/998","labels_url":"https://api.github.com/repos/bndtools/bnd/issues/998/labels{/name}","comments_url":"https://api.github.com/repos/bndtools/bnd/issues/998/comments","events_url":"https://api.github.com/repos/bndtools/bnd/issues/998/events","html_url":"https://github.com/bndtools/bnd/issues/998","id":94679964,"number":998,"title":"repoindex does not check validity of attribute names","user":{"login":"db82407","id":1357242,"avatar_url":"https://avatars.githubusercontent.com/u/1357242?v=3","gravatar_id":"","url":"https://api.github.com/users/db82407","html_url":"https://github.com/db82407","followers_url":"https://api.github.com/users/db82407/followers","following_url":"https://api.github.com/users/db82407/following{/other_user}","gists_url":"https://api.github.com/users/db82407/gists{/gist_id}","starred_url":"https://api.github.com/users/db82407/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/db82407/subscriptions","organizations_url":"https://api.github.com/users/db82407/orgs","repos_url":"https://api.github.com/users/db82407/repos","events_url":"https://api.github.com/users/db82407/events{/privacy}","received_events_url":"https://api.github.com/users/db82407/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-13T09:33:52Z","updated_at":"2015-07-13T09:33:52Z","closed_at":null,"body":"I accidentally created a bundle with a bad Provide-Capability header:\r\n\r\nProvide-Capability: com.example.transport;com.example.transport=jms;jms-version<Version>=\"1.1\"\r\n\r\nrepoindex should have complained about the illegal '<' character before Version, but it just generated an index containing:\r\n\r\n    <capability namespace=\"com.example.transport\">\r\n      <attribute name=\"com.example.transport\" value=\"jms\"/>\r\n      <attribute name=\"jms-version&lt;Version&gt;\" value=\"1.1\"/>\r\n    </capability>"}}