Hello,<br><br>I Just noticed that Mapserver 4.6.2 is giving me invalid GML for a polygon with one inner ring. <br><br>Here is a snippet of the GML code:<br><br>&lt;myns:msGeometry&gt;<br>&lt;gml:MultiPolygon srsName="epsg:4283"&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/gml:MultiPolygon&gt;<br>&lt;/myns:msGeometry&gt;<br><br>The error is an empty MultiPolygon.&nbsp; There are no other errors produced by MapServer.&nbsp; I have also noticed that GML that is produced, only Filled Polygon (no inner rings) are declared under the Polygon element, while a Polygon with inner rings are declared as a Polygon under MultiPolygon.&nbsp; Anyone has any explaination for this?&nbsp; This does not conform to the OGC GML standard.<br><br>I have also tried using ogr2ogr tool on the shapefile, and converted it to a GML.&nbsp; Upon inspection, the GML conforms to the OGC GML standard and the missing feature is declared correctly.&nbsp; I tried changing my map file to use a OGR
 connection to the GML file and I still get the same GML by Mapserver.&nbsp; Is this a known bug of Mapserver?<br><br>I have also tried the same shapefile on GeoServer and GEOServer produced valid GML for the feature.<br><br>If anyone can tell me why I can't get the GML to produce correctly please let me know.&nbsp; It would be a GREAT help if you are able help.&nbsp; Email me if you would like me to send the shape file and mapfile.<br><br>Regards,<br>John<p>&#32;Send instant messages to your online friends http://au.messenger.yahoo.com