Hi, When calling SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI) to prepare validation of an XML structure with an XSD, I get an error that the Xerces XMLSchemaFactory is not found although the Servicemix Xerces bundle is installed and the respective package exported. We use Java 17.02 to run Karaf.
Temporarily using the system class loader for that call and then setting it back to the previous class loader helps. But that looks bit like a hack. Is there a better way to make it work? For the JAXB marshaller/unmarshaller, there was a similar issue some time ago. I haven't checked whether that's still there, too. Thanks! Regards, Jochen
