<div dir="ltr"><div><div><div><div><div><div>Hi,<br><br></div>As JAXB will be removed from JDK 11, we are moving to Stax for parsing the Hibernate Validator XML descriptors.<br><br></div>One issue is that the javax.xml.stream.api module, which is nicely isolated, typically depends on javax.xml.namespace for the QName class.<br><br></div>Thus all the modules depending on the javax.xml.stream.api also depends on javax.api (which exposes imageio, swing and so on). See the staxmapper or the xts modules for instance.<br><br></div>I&#39;m wondering if we should better isolate the javax.xml features to avoid that situation?<br><br></div><div>Not a big fan of exposing the Swing and ImageIO classes to HV.<br></div><div><br></div>Thoughts?<br><br>-- <br></div>Guillaume<br></div>