When an application schema contains an element in the gml:_Feature substitution group a link from gml:_Feature back to the app schema element is created. Since the gml schema (and thus the gml:_Feature) element is a singleton this creates a memory leak. This adapter watches the {@link XSDElementDeclaration#getSubstitutionGroup()} of the gml:_Feature element and prevents itfrom growing in size by making it a unique list of {@link XSDElementDeclaration} based on qualified name.
@author Justin Deoliveira, OpenGeo @source $URL$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|