]
Johnathon Lee closed TEIIDDES-291.
----------------------------------
Resolution: Out of Date
XML-Relational and WSDL-Relational importers do not understand the
substitutionGroup attribute of xsd:Element
-------------------------------------------------------------------------------------------------------------
Key: TEIIDDES-291
URL:
https://issues.jboss.org/browse/TEIIDDES-291
Project: Teiid Designer
Issue Type: Bug
Affects Versions: 7.1
Reporter: John Doyle
Assignee: Ted Jones
Priority: Minor
Fix For: Future
Attachments: XSDTest7.java
See the issue tracker:
https://enterprise.redhat.com/issue-tracker/?module=issues&action=vie...
Take a look at section 2.2.2.2 of the XSD spec.
http://www.w3.org/TR/xmlschema-1/
Or this nice example:
http://www.w3schools.com/Schema/schema_complex_subst.asp
As I read the spec, these substitution groups have no effect on the structure of the XML
defined by the XSD, only the names that allowed for a particular element in the XML.
We don't support this in the importer now. We would have to add functionality to
find the substitution groups and add additional XPaths so that the connector could either
/name or /navn in the xml document.