<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-2">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
I've facing a problem regarding the GetFeature function again, and I'm
not quite sure whether it is an OpenLayers bug or the server
application fails. <br>
So, I've a WMS and a WFS service served by Geomedia WebMap:
<a class="moz-txt-link-freetext" href="http://webmap.viamap.hu/ol/getFeatureTest.html">http://webmap.viamap.hu/ol/getFeatureTest.html</a><br>
The GetFeature gets a correct response from the WFS service, e.g.:<br>
<div selected="true" role="tabpanel"
class="netInfoResponseText
netInfoText ">
<pre role="list"><code class="wrappedText focusRow" role="listitem"><?xml version="1.0" encoding="UTF-8"?>
</code><code class="wrappedText focusRow" role="listitem"><gmgml:FeatureCollection xmlns=<a class="moz-txt-link-rfc2396E" href="http://www.intergraph.com/geomedia/gml">"http://www.intergraph.com/geomedia/gml"</a> xmlns:gml="<a class="moz-txt-link-freetext" href="http://www.opengis">http://www.opengis</a></code><code
class="wrappedText focusRow" role="listitem">.net/gml" xmlns:gmgml=<a class="moz-txt-link-rfc2396E" href="http://www.intergraph.com/geomedia/gml">"http://www.intergraph.com/geomedia/gml"</a> xmlns:xsi=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/2001/XMLSchema-instance">"http://www.w3.org/2001/XMLSchema-instance"</a></code><code
class="wrappedText focusRow" role="listitem"> xsi:schemaLocation='<a class="moz-txt-link-freetext" href="http://www.intergraph.com/geomedia/gml">http://www.intergraph.com/geomedia/gml</a> <a class="moz-txt-link-freetext" href="http://webmap.viamap.hu/testWFS/request.aspx">http://webmap.viamap.hu/testWFS/request.aspx</a></code><code
class="wrappedText focusRow" role="listitem">?request=DescribeFeatureType&amp;VERSION=1.1.0&amp;SERVICE=WFS&amp;OUTPUTFORMAT=text/xml;subtype=gml</code><code
class="wrappedText focusRow" role="listitem">/3.1.1'><gml:boundedBy><gml:Envelope srsName="EPSG:23700"><gml:lowerCorner>660000 236000</gml:lowerCorner</code><code
class="wrappedText focusRow" role="listitem">><gml:upperCorner>666000 240000</gml:upperCorner></gml:Envelope></gml:boundedBy><gml:featureMember><gmgml</code><code
class="wrappedText focusRow" role="listitem">:szelvenyhalo gml:id="szelvenyhalo.2676"><gmgml:szelvenyszam>65-421</gmgml:szelvenyszam><gmgml:felmeres</code><code
class="wrappedText focusRow" role="listitem">>1997</gmgml:felmeres><gmgml:ID>2676</gmgml:ID><gmgml:Geometry><gml:Polygon srsName="EPSG:23700"><gml</code><code
class="wrappedText focusRow" role="listitem">:exterior><gml:LinearRing><gml:posList srsDimension="2">660000 236000 660000 240000 666000 240000 666000</code><code
class="wrappedText focusRow" role="listitem"> 238000 666000 236000 660000 236000 </gml:posList></gml:LinearRing></gml:exterior></gml:Polygon></gmgml</code><code
class="wrappedText focusRow" role="listitem">:Geometry></gmgml:szelvenyhalo></gml:featureMember></gmgml:FeatureCollection></code></pre>
</div>
although the result cannot be processed, because of the following error:<br>
<pre>obj.attributes is undefined</pre>
<pre><a class="moz-txt-link-freetext" href="http://webmap.viamap.hu/ol/lib/OpenLayers-2.9.1/lib/OpenLayers/Format/GML/Base.js">http://webmap.viamap.hu/ol/lib/OpenLayers-2.9.1/lib/OpenLayers/Format/GML/Base.js</a></pre>
<pre>Line 397</pre>
Is it an OpenLayers bug?<br>
<br>
BR,<br>
<br>
Attila<br>
</body>
</html>