Ticket #3177 (closed bug: fixed)

Opened 2 years ago

Last modified 2 years ago

Not all ESRI WMSGetFeatureInfo formats parsed

Reported by: bartvde Owned by: elemoine
Priority: minor Milestone: 2.11 Release
Component: Format.WMSGetFeatureInfo Version: 2.10
Keywords: Cc:
State: Commit

Description

There seems to be at least 2 implementations of FeatureInfoResponse in ESRI software. We currently support the following syntax:

<FeatureInfoResponse>
  <FIELDS OBJECTID="1"attributename="attributevalue"/>
  <FIELDS OBJECTID="2" attributename="attributevalue"/>
</FeatureInfoResponse>

However the following syntax also occurs and is not parsed properly:

<FeatureInfoResponse>
  <FIELDS>
    <FIELD name="attributename" value="attributevalue">
    <FIELD name="attributename" value="attributevalue">
  </FIELDS>
  <FIELDS>
    <FIELD name="attributename" value="attributevalue">
    <FIELD name="attributename" value="attributevalue">
  </FIELDS>
</FeatureInfoResponse>

Attachments

ol_3177.patch Download (2.6 KB) - added by bartvde 2 years ago.

Change History

Changed 2 years ago by bartvde

  • state set to Review

Respective tests pass in FF 3.6 and Safari 5, thanks in advance for any review.

Changed 2 years ago by bartvde

Changed 2 years ago by cmoullet

  • owner changed from bartvde to elemoine

Tested on IE8, IE9 and FF 4.0. Works fine.

Changed 2 years ago by erilem

  • state changed from Review to Commit

Thanks Bart. Please commit.

Changed 2 years ago by erilem

And thanks Cédric for testing.

Changed 2 years ago by bartvde

  • status changed from new to closed
  • resolution set to fixed

(In [11741]) Not all ESRI WMSGetFeatureInfo formats parsed, p=me, r=cmoullet,erilem (closes #3177)

Note: See TracTickets for help on using tickets.