prevent ClassCastException due to xercesImpl in .hpi file