<div dir="ltr"><div>Hi All,</div><div><br></div>Thank you all for the comments. I would expect an option to provide an (XML friendly) alias for the layer name which would be added to the GetFeature response as the XML tag instead of the "real" layer name. Is that possible? The "title" metadata tag doesn't seem to do what we would like to achieve.<div><br></div><div>Thanks,</div><div><br></div><div>Tamas</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-07-02 15:55 GMT+02:00 Even Rouault <span dir="ltr"><<a href="mailto:even.rouault@spatialys.com" target="_blank">even.rouault@spatialys.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">Le jeudi 02 juillet 2015 14:16:10, Tamas Szekeres a écrit :<br>
> Hi,<br>
><br>
> Could anyone explain the reason of limiting the layer names to valid XML<br>
> tag names (not containing spaces or any special characters in that)? As far<br>
> as I know the layer names don't appear a XML tags in the OWS requests and I<br>
> couldn't find such limitation in the WFS specs either.<br>
> Many clients uses spaces in layer names and this is causing issues for us.<br>
<br>
</div></div>Tamas,<br>
<br>
This is in fact a constraint of the WFS spec.<br>
<br>
According to <a href="http://schemas.opengis.net/wfs/1.1.0/wfs.xsd" rel="noreferrer" target="_blank">http://schemas.opengis.net/wfs/1.1.0/wfs.xsd</a>,<br>
<br>
<xsd:element name="Name" type="xsd:QName"><br>
  <xsd:annotation><xsd:documentation><br>
                  Name of this feature type, including any namespace prefix<br>
  </xsd:documentation></xsd:annotation><br>
</xsd:element><br>
<br>
And xsd:QName, that builds upon xsd:NCName, doesn't allow spaces and many<br>
other characters.<br>
<span class="HOEnZb"><font color="#888888"><br>
Even<br>
<br>
<br>
--<br>
Spatialys - Geospatial professional services<br>
<a href="http://www.spatialys.com" rel="noreferrer" target="_blank">http://www.spatialys.com</a><br>
</font></span></blockquote></div><br></div>