[ https://issues.apache.org/jira/browse/CAMEL-4666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13148795#comment-13148795 ]
Christian Müller commented on CAMEL-4666: ----------------------------------------- Björn, thank you very much for your patch. I changed it a bit regarding to be able to look up a reference to a org.w3c.dom.ls.LSResourceResolver instance in the registry and some check style issues (see [] for details). I share your doubts that this is not the best solution, because each user has to provide its own org.w3c.dom.ls.LSResourceResolver implementation to use this functionality. On the other site, we try to avoid to have additional dependencies in camel-core to be so light weight as possible. May we should consider to externalize this functionality into it's own component and provide a good org.w3c.dom.ls.LSResourceResolver implementation... [1] http://camel.apache.org/building.html P.S.: I didn't back port this fix into the camel-2.8.x and camel-2.7.x branch because in these versions the validator component was part of camel-spring and makes a bit harder to back port this change. But feel free to raise your voice if it's needed... > support catalog entity resolver in validator-component > ------------------------------------------------------ > > Key: CAMEL-4666 > URL: https://issues.apache.org/jira/browse/CAMEL-4666 > Project: Camel > Issue Type: Improvement > Components: camel-core > Reporter: Björn Bength > Assignee: Christian Müller > Fix For: 2.9.0 > > Attachments: validator-catalog.patch > > > When validating XML files against schema files, it's fairly common they > import other schemas and it's faily common they cannot be found, or reached, > at the specified schema location. Their location must therefore be rewritten, > or resolved, to find the the correct schema-file elsewhere. > Apache's xml-resolver implements support for oasis and xcatalog formats. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira