[ https://issues.apache.org/jira/browse/CAMEL-4666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13148191#comment-13148191 ]
Christian Müller commented on CAMEL-4666: ----------------------------------------- Björn, I have a look on it right now. I prefer something like: {code:java} to("validator:schema.xsd?resourceResolver=#resourceResolver") {code} With this, camel-core doesn't have an additional dependency to "xml-resolver:xml-resolver". If the user decide to use the "xml-resolver:xml-resolver", than it's fine and it will work. Give me a bit time with your patch... > 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 > 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