{"action":"opened","issue":{"url":"https://api.github.com/repos/AusRegistry/ari-toolkit/issues/3","repository_url":"https://api.github.com/repos/AusRegistry/ari-toolkit","labels_url":"https://api.github.com/repos/AusRegistry/ari-toolkit/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/AusRegistry/ari-toolkit/issues/3/comments","events_url":"https://api.github.com/repos/AusRegistry/ari-toolkit/issues/3/events","html_url":"https://github.com/AusRegistry/ari-toolkit/issues/3","id":241464816,"number":3,"title":"It's impossible to turn off XML schema validation.","user":{"login":"mschout","id":23033,"avatar_url":"https://avatars2.githubusercontent.com/u/23033?v=3","gravatar_id":"","url":"https://api.github.com/users/mschout","html_url":"https://github.com/mschout","followers_url":"https://api.github.com/users/mschout/followers","following_url":"https://api.github.com/users/mschout/following{/other_user}","gists_url":"https://api.github.com/users/mschout/gists{/gist_id}","starred_url":"https://api.github.com/users/mschout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mschout/subscriptions","organizations_url":"https://api.github.com/users/mschout/orgs","repos_url":"https://api.github.com/users/mschout/repos","events_url":"https://api.github.com/users/mschout/events{/privacy}","received_events_url":"https://api.github.com/users/mschout/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-08T16:42:59Z","updated_at":"2017-07-08T16:42:59Z","closed_at":null,"body":"The toolkit properties file supports a setting \"xml.validation.enable\" which defaults to true.\r\n\r\nHOWEVER, setting this to false doesn't actually work.\r\n\r\nThe reason is that com.ausregistry.jtoolkit2.xml.EPPWriter has this line in a static initializer block:\r\n\r\nEPPSchemaProvider.setValidating(true);\r\n\r\nThis gets called during SessionManager's startup() method, which happens after configuration has been applied.  So if you had set xml.validation.enable=false, then EPPWriter will turn validation right back on during startup().\r\n\r\nNot really sure why its hard-coded in EPPWriter, but this makes it impossible to turn off XML schema validation.\r\n"}}
{"actor":{"display_login":"mschout"}}