Add XML Catalog [1] support to XML Validator, i.e., enable XML Validator to resolve an XML schema like the following:
<?xml version="1.0" encoding="UTF-8"?> <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:switchyard-quickstart:validate-xml:0.1.0" xmlns:orders="urn:switchyard-quickstart:validate-xml:0.1.0"> <xs:import namespace="urn:common-types" schemaLocation="http://www.example.com/types/common.xsd"/> ... </schema>
based on the XML catalog (META-INF/jax-ws-catalog.xml) below:
<?xml version="1.0" encoding="UTF-8"?> <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"> prefer="system"> <system systemId="http://www.example.com/types/common.xsd" uri="/xsd/common.xsd" /> ... </catalog>
[1] https://www.oasis-open.org/committees/entity/spec-2001-08-06.html