{"action":"opened","issue":{"url":"https://api.github.com/repos/jpmml/jpmml-model/issues/2","labels_url":"https://api.github.com/repos/jpmml/jpmml-model/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/jpmml/jpmml-model/issues/2/comments","events_url":"https://api.github.com/repos/jpmml/jpmml-model/issues/2/events","html_url":"https://github.com/jpmml/jpmml-model/issues/2","id":75196426,"number":2,"title":"Extension mechanism for jpmml-model","user":{"login":"chr1st1anh","id":312591,"avatar_url":"https://avatars.githubusercontent.com/u/312591?v=3","gravatar_id":"","url":"https://api.github.com/users/chr1st1anh","html_url":"https://github.com/chr1st1anh","followers_url":"https://api.github.com/users/chr1st1anh/followers","following_url":"https://api.github.com/users/chr1st1anh/following{/other_user}","gists_url":"https://api.github.com/users/chr1st1anh/gists{/gist_id}","starred_url":"https://api.github.com/users/chr1st1anh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chr1st1anh/subscriptions","organizations_url":"https://api.github.com/users/chr1st1anh/orgs","repos_url":"https://api.github.com/users/chr1st1anh/repos","events_url":"https://api.github.com/users/chr1st1anh/events{/privacy}","received_events_url":"https://api.github.com/users/chr1st1anh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-11T11:52:10Z","updated_at":"2015-05-11T11:52:10Z","closed_at":null,"body":"When I try to unmarshal a xml to a jpmml model it wont contain the data specified in the extensions tag. As far as I can tell there is no way to access this or extend the JAXB models without rewriting an important portion of it. \r\n\r\n´´´xml\r\n  <Extension>\r\n    <Extension1>\r\n<MyExample>\r\n<MiningData>abcd</MiningData>\r\n</MyExample>\r\n    </Extension1>\r\n    <Extension2>\r\n<MyExample>\r\n<MiningData>abcd</MiningData>\r\n</MyExample>\r\n    </Extension2>\r\n </Extension>\r\n´´´\r\n\r\nThe result printed out by this extension would be:\r\n\r\n[Extension1: null]\r\n[Extension2: null]\r\n\r\nHow could the PMML extension mechanism be used to read the content of extensions without rewriting the parsing mechanism, but rather by extending jpmml?  \r\n\r\n"}}