[ https://issues.apache.org/jira/browse/CAMEL-4666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13148843#comment-13148843 ]
Björn Bength commented on CAMEL-4666: ------------------------------------- very well, it works, but I really think camel somewhere should depend on xml-resolver (without dragging in CXF...). And that CatalogLSResourceResolver and all the "initialization" code you put in the test case should be easily available, somehow, to every camel user that isn't a java jedi knight. Or maybe the validator shouldn't even be in core? Maybe I should put (all other code) on GitHub somewhere, so everyone doesn't have to dig through camel unit test source code to find out how to use it? :) > 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