Red Hat Bugzilla – Bug 779163
Schema Validation - import/include of XSD schemas does not work
Last modified: 2011-02-17 06:18:52 EST
Date of First Response: 2009-10-27 05:32:50
I tried to include one schema into tn other and it seems that this functionality does not work. Custom implementation of org.w3c.dom.ls.LSResourceResolver should probably be provided that will support resolving of file, http and classpath based locations.
This was not part of the original request but we can certainly add it. Please raise a change request.
Please review the issues and create change requests if you feel the issues are valid, otherwise resolve them as rejected
It is my understanding that we now support import/include for the EBWS feature (in.xsd, out.xsd and error.xsd). Is that true? I will create a change request.
See the linked JIRA - from Jan 2009
Link: Added: This issue depends SOA-1142
Just to make sure we have clarity, the specific feature are talking about is
That is correct, the linked JIRA is not relevant to this issue.
It is only relevant in the sense that it works for EBWS but not for SchemaValidationAction, we are inconsistent in our use of XSD include between the two capabilities.
<?xml version="1.0" encoding="UTF-8"?>
<xs:choice minOccurs="1" maxOccurs="1">
<xs:element name="receivePolicyQuote" type="pol:ReceivePolicyQuoteType"/>
<xs:element name="createPolicyQuote" type="pol:CreatePolicyQuoteType"/>
<xs:element name="deletePolicyQuote" type="pol:DeletePolicyQuoteType"/>
<xs:element name="getPolicyQuote" type="pol:GetPolicyQuoteType"/>
<xs:element name="calculatePolicyQuote" type="pol:CalculatePolicyQuoteType"/>
Jeff D provided me with some sample XSDs that work with the EBWS feature.
Attachment: Added: XSD.zip
Nobody is disagreeing that we are inconsistent, but this has no dependency on EBWS.
This is optional for SOA 5.1.0. Thus it is downgraded to a Major.
Link: Added: This issue depends JBESB-3538
Support has been added in the ESB codebase.
Writer: Added: dlesage
Verified in ER6
Writer: Removed: dlesage Added: Darrin
Release Notes Docs Status: Added: Documented as Resolved Issue
Release Notes Text: Added: https://issues.jboss.org/browse/JBESB-3538
Support for schema import/include has been added to SchemaValidationAction