<div dir="ltr">An empty string for the NAME works without error. I set the MS_DEBUGLEVEL to 5 and nothing is written to the error file when this error occurs.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Aug 29, 2022 at 12:44 AM Rahkonen Jukka <<a href="mailto:jukka.rahkonen@maanmittauslaitos.fi">jukka.rahkonen@maanmittauslaitos.fi</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg8612747098188942787">
<div lang="FI" style="overflow-wrap: break-word;">
<div class="gmail-m_-2073022148746305395WordSection1">
<p class="MsoNormal"><span>Hi,<u></u><u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">What happens if you use an empty NAME?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">-Jukka Rahkonen-<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(225,225,225);padding:3pt 0cm 0cm">
<p class="MsoNormal"><b>Lähettäjä:</b> MapServer-dev <<a href="mailto:mapserver-dev-bounces@lists.osgeo.org" target="_blank">mapserver-dev-bounces@lists.osgeo.org</a>>
<b>Puolesta </b>Richard Greenwood<br>
<b>Lähetetty:</b> maanantai 29. elokuuta 2022 9.06<br>
<b>Vastaanottaja:</b> Seth G <<a href="mailto:sethg@geographika.co.uk" target="_blank">sethg@geographika.co.uk</a>><br>
<b>Kopio:</b> MapServer Devs <<a href="mailto:mapserver-dev@lists.osgeo.org" target="_blank">mapserver-dev@lists.osgeo.org</a>><br>
<b>Aihe:</b> Re: [MapServer-dev] Possibly undocumented 8.0 change<u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Yes, it's with a WMS request. Apache throws a 500 error "End of script output before headers". I define a LAYER with a GROUP but no NAME. I don't believe METADATA plays into it because I commented out the METADATA block and it fails in
the same way.<u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">On Sun, Aug 28, 2022 at 3:07 PM Seth G <<a href="mailto:sethg@geographika.co.uk" target="_blank">sethg@geographika.co.uk</a>> wrote:<u></u><u></u></p>
</div>
<blockquote style="border-top:none;border-right:none;border-bottom:none;border-left:1pt solid rgb(204,204,204);padding:0cm 0cm 0cm 6pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<div>
<p class="MsoNormal">Hi Richard,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Do you have more details - is this when using WMS? Is there an error that appears?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">For WMS there is a known conflict between GROUP and wms_layer_group in a METADATA block, but this sounds like something different.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Seth<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div id="gmail-m_-2073022148746305395gmail-m_-6215140760158024169sig62266145">
<div>
<p class="MsoNormal">--<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">web:<a href="https://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgeographika.net%2F&data=05%7C01%7Cjukka.rahkonen%40maanmittauslaitos.fi%7Ce5ba2199f1844b9fc12c08da89848752%7Cc4f8a63255804a1c92371d5a571b71fa%7C0%7C1%7C637973499545900205%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=7VnuiFUk6ZCphnd2sDhzTfQtrISaozw5EjLIEAnNL7k%3D&reserved=0" target="_blank">https://geographika.net</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">twitter: @geographika<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">On Sun, Aug 28, 2022, at 3:53 PM, Richard Greenwood wrote:<u></u><u></u></p>
</div>
<blockquote style="margin-top:5pt;margin-bottom:5pt" id="gmail-m_-2073022148746305395gmail-m_-6215140760158024169qt">
<div>
<div>
<p class="MsoNormal">I didn't see mention of this in the docs, apologies if I missed it. It appears that as of 8.0 a layer must have a NAME. In the past it has been possible for a layer not to have a NAME if it had a GROUP.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">-- <u></u><u></u></p>
</div>
<div>
<div>
<div>
<p class="MsoNormal">Richard W. Greenwood<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><a href="https://eur06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.greenwoodmap.com%2F&data=05%7C01%7Cjukka.rahkonen%40maanmittauslaitos.fi%7Ce5ba2199f1844b9fc12c08da89848752%7Cc4f8a63255804a1c92371d5a571b71fa%7C0%7C1%7C637973499545900205%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=1Zlg3QFoyrEXmBM%2FvHLLnZu867Ost%2FecilgbnXClEH8%3D&reserved=0" target="_blank">www.greenwoodmap.com</a><u></u><u></u></p>
</div>
</div>
</div>
</div>
<div>
<p class="MsoNormal">_______________________________________________<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">MapServer-dev mailing list<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><a href="mailto:MapServer-dev@lists.osgeo.org" target="_blank">MapServer-dev@lists.osgeo.org</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><a href="https://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fmapserver-dev&data=05%7C01%7Cjukka.rahkonen%40maanmittauslaitos.fi%7Ce5ba2199f1844b9fc12c08da89848752%7Cc4f8a63255804a1c92371d5a571b71fa%7C0%7C1%7C637973499545900205%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=7Bx8e4KYB%2FSJ8dsV2%2F4YaTYStlv2yOrGZ4MnhvVPvx4%3D&reserved=0" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-dev</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</blockquote>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><br clear="all">
<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal">-- <u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">Richard W. Greenwood<br>
<a href="https://eur06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.greenwoodmap.com%2F&data=05%7C01%7Cjukka.rahkonen%40maanmittauslaitos.fi%7Ce5ba2199f1844b9fc12c08da89848752%7Cc4f8a63255804a1c92371d5a571b71fa%7C0%7C1%7C637973499545900205%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=1Zlg3QFoyrEXmBM%2FvHLLnZu867Ost%2FecilgbnXClEH8%3D&reserved=0" target="_blank">www.greenwoodmap.com</a><u></u><u></u></p>
</div>
</div>
</div>
</div>
</div></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Richard W. Greenwood<br><a href="http://www.greenwoodmap.com" target="_blank">www.greenwoodmap.com</a></div></div>