Re: [Geoserver-users] Too many namespaces in the GetFeature results

2018-08-29 Thread Nuno Oliveira
Dear Sebastian, please see my answers bellow: On 08/28/2018 11:22 AM, worldexplorer wrote: Dear Nuno Oliveira, thank you for the answer. It's quite interesting that complex features have this behaviour. Never thought about the fact, that the needed name-spaces are uncertain at the point of the

Re: [Geoserver-users] Too many namespaces in the GetFeature results

2018-08-28 Thread worldexplorer
Dear Nuno Oliveira, thank you for the answer. It's quite interesting that complex features have this behaviour. Never thought about the fact, that the needed name-spaces are uncertain at the point of the encoding time. To summarize, it affects all encodings of complex features and it's not

Re: [Geoserver-users] Too many namespaces in the GetFeature results

2018-08-28 Thread Nuno Oliveira
Hi, When encoding a complex feature we cannot know at encoding time which name-spaces will be needed (a complex feature may chain multiple features from different name-spaces together), so all the available name-spaces are added. Is worth noticing that the produced XML document is valid. This