{"action":"created","issue":{"url":"https://api.github.com/repos/joeha480/dotify/issues/192","repository_url":"https://api.github.com/repos/joeha480/dotify","labels_url":"https://api.github.com/repos/joeha480/dotify/issues/192/labels{/name}","comments_url":"https://api.github.com/repos/joeha480/dotify/issues/192/comments","events_url":"https://api.github.com/repos/joeha480/dotify/issues/192/events","html_url":"https://github.com/joeha480/dotify/pull/192","id":143318447,"number":192,"title":"Fix handling of xml-processor in OSGi environment","user":{"login":"bertfrees","id":1167989,"avatar_url":"https://avatars.githubusercontent.com/u/1167989?v=3","gravatar_id":"","url":"https://api.github.com/users/bertfrees","html_url":"https://github.com/bertfrees","followers_url":"https://api.github.com/users/bertfrees/followers","following_url":"https://api.github.com/users/bertfrees/following{/other_user}","gists_url":"https://api.github.com/users/bertfrees/gists{/gist_id}","starred_url":"https://api.github.com/users/bertfrees/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bertfrees/subscriptions","organizations_url":"https://api.github.com/users/bertfrees/orgs","repos_url":"https://api.github.com/users/bertfrees/repos","events_url":"https://api.github.com/users/bertfrees/events{/privacy}","received_events_url":"https://api.github.com/users/bertfrees/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-24T18:03:34Z","updated_at":"2016-04-04T14:37:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/joeha480/dotify/pulls/192","html_url":"https://github.com/joeha480/dotify/pull/192","diff_url":"https://github.com/joeha480/dotify/pull/192.diff","patch_url":"https://github.com/joeha480/dotify/pull/192.patch"},"body":"TransformerFactory.newInstance(), which is currently used to obtain a TransformerFactory object, returns a Xalan object because the method does not work well with OSGi, and the Xalan implementation fails for some reason.\r\n\r\nTherefore as a temporary solution I added a SPI Fly header to the manifest which fixes the TransformerFactory.newInstance() method in OSGi.\r\n\r\nA better solution would be to make it possible to somehow bind a TransformerFactory to LayoutEngineFactoryImpl through OSGi."},"comment":{"url":"https://api.github.com/repos/joeha480/dotify/issues/comments/205325216","html_url":"https://github.com/joeha480/dotify/pull/192#issuecomment-205325216","issue_url":"https://api.github.com/repos/joeha480/dotify/issues/192","id":205325216,"user":{"login":"bertfrees","id":1167989,"avatar_url":"https://avatars.githubusercontent.com/u/1167989?v=3","gravatar_id":"","url":"https://api.github.com/users/bertfrees","html_url":"https://github.com/bertfrees","followers_url":"https://api.github.com/users/bertfrees/followers","following_url":"https://api.github.com/users/bertfrees/following{/other_user}","gists_url":"https://api.github.com/users/bertfrees/gists{/gist_id}","starred_url":"https://api.github.com/users/bertfrees/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bertfrees/subscriptions","organizations_url":"https://api.github.com/users/bertfrees/orgs","repos_url":"https://api.github.com/users/bertfrees/repos","events_url":"https://api.github.com/users/bertfrees/events{/privacy}","received_events_url":"https://api.github.com/users/bertfrees/received_events","type":"User","site_admin":false},"created_at":"2016-04-04T14:37:10Z","updated_at":"2016-04-04T14:37:10Z","body":"The SPI Fly solution was just a quick fix. It was urgent because I left on vacation. I agree we should be able to fix it properly without SPI Fly. #193 looks good."}}