I moved FeatureTypeInfo method that provided schemaBase --> manditory Attribtues
over to the DataTransferObject factory. Allows me to create a list of
AttributeTypeInfoDTOs based on just the schemaBase.
The tricky part was adapting your code for AttributeTypeInfoDTO create(
AttributeType ). It seems to just be based on the attribute name? This seems
wrong to me at first glance, perhaps you can have a look at it?
If it really is just based on attributeName I should be able to remove the
duplicated code. I had thought that we looked up the correct mapping in the
classes formally known as GMLUtils to aquire Nillable/minOccurs/maxOccurs
information - but these seemed to be hardcoded ...
Cheers
Jody