Ticket #141 (defect)
Opened 1 year ago
Last modified 1 year ago
Improved ContactMetadata parsing
Status: closed (fixed)
| Reported by: | ww | Assigned to: | seang |
|---|---|---|---|
| Priority: | major | Milestone: | OWSLib 0.3 |
| Component: | OWSLib | Version: | |
| Keywords: | parsing | Cc: | |
Several defects exist with the ContactMetadata parsing:
- PostCode tag was incorrectly searched as Postcode
- Any error in parsing prevented reading in of subsequent tags
This patch re-implements the parser to fix these defects and also includes a check that makes sure that the ContactInformation block is non-empty before attempting to parse it. This last was necessary to make http://openaerialmap.org/wms/ parse correctly. (Formerly it would break because of the dereferencing of .text for the Name tag that was assumed to exist).
Attachments
Change History
12/08/07 09:08:31: Modified by ww
- attachment contact.diff added.
12/09/07 14:19:01: Modified by seang
- status changed from new to closed.
- resolution set to fixed.
Committed in r982.

Contact Metadata parsing fixes