XSD files might have complexContent tag which is used together with complexType and means that this complexType can extend another complexType.
When this happens, the elements in both contentType definitions should be joined together.
Now, all files of Registrų centras which have complexContent are extending abstract complexType items. For this, it is not necessary to join those content types together, it's enough to use the one that extends the other.
But in a more generic case, both those complexType elements should be joined together and elements or properties from both of them should be added as models or properties.
XSD
files might havecomplexContent
tag which is used together withcomplexType
and means that thiscomplexType
can extend anothercomplexType
.When this happens, the elements in both
contentType
definitions should be joined together.Now, all files of Registrų centras which have
complexContent
are extending abstractcomplexType
items. For this, it is not necessary to join those content types together, it's enough to use the one that extends the other.But in a more generic case, both those
complexType
elements should be joined together and elements or properties from both of them should be added as models or properties.