Bug 779160 (SOA-1555)

Summary: Schema Validation - Reading from file/URL is not supported
Product: [JBoss] JBoss Enterprise SOA Platform 5 Reporter: Jiri Pechanec <jpechane>
Component: JBossESBAssignee: Burr Sutter <burr.sutter>
Status: CLOSED NOTABUG QA Contact:
Severity: urgent Docs Contact:
Priority: urgent    
Version: 5.0.0 ER1   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-1555
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-12-02 10:16:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jiri Pechanec 2009-10-26 11:51:41 UTC
Date of First Response: 2009-10-26 08:06:12
project_key: SOA

From PRD: 
...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

ERD reference:
4.1.22 Schema Validation
 Priority:                                        Status:
                    High                                      Committed
 Responsible team:                                Originator:
                    JBoss ESB                                 Engineering
 Requirement:       Action for Schema validation.
 Comments:
 Attachments:
 Interdependencies:

Comment 1 Kevin Conner 2009-10-26 12:06:12 UTC
This is correct, file and URL are not supported.

Comment 2 Kevin Conner 2009-10-26 14:47:34 UTC
File and URL were not agreed to, only resource (classpath).

Comment 3 Jiri Pechanec 2009-10-27 09:59:36 UTC
Please review the issues and create change requests if you feel the issues are valid, otherwise resolve them as rejected

Comment 4 Burr Sutter 2009-10-30 20:57:34 UTC
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?




Comment 5 Kevin Conner 2009-11-02 10:15:35 UTC
Yes, any schema which is available through the normal classloading mechanism can be referenced.

Comment 6 trev 2009-12-02 10:16:15 UTC
ESB only support classloading mechanism which is already present