membrane / soa-model

Toolkit and Java API for WSDL, WADL and XML Schema.
http://www.membrane-soa.org/soa-model/
Apache License 2.0
94 stars 73 forks source link

Parsing the substitutionGroup attribute for XML schema elements #272

Closed teaCube closed 4 years ago

teaCube commented 4 years ago

Currently XML schema element objects do not know about their substitutionGroup attribute. This led to a problem for us, as a webservice, which we tried to connect/implement, used the substitutionGroup attribute. We therefore were not able to parse the webservice's response as the element of the response was apparently non existing.

With this patch the element class parses the substitution attribute and stores its value in a class member variable.