Red Hat Bugzilla – Bug 779160
Schema Validation - Reading from file/URL is not supported
Last modified: 2009-12-02 05:16:15 EST
Date of First Response: 2009-10-26 08:06:12
...and accepts a parameter of a relative or absolute path (local file, URL, etc) to a XSD file
Only reading from classpath is supported now
4.1.22 Schema Validation
Responsible team: Originator:
JBoss ESB Engineering
Requirement: Action for Schema validation.
This is correct, file and URL are not supported.
File and URL were not agreed to, only resource (classpath).
Please review the issues and create change requests if you feel the issues are valid, otherwise resolve them as rejected
I assume classpath means that I can refer to "/schemas/my.xsd" inside of the exploded or zipped .esb archive then I think that is a good solution.
Based on classpath, it should also be able to pick up any XSD loaded inside the UCL as well or is that a bad assumption?
Yes, any schema which is available through the normal classloading mechanism can be referenced.
ESB only support classloading mechanism which is already present