[Mapbender-commits] r8447 - trunk/mapbender/http/classes
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Wed Jul 11 23:33:48 PDT 2012
Author: armin11
Date: 2012-07-11 23:33:48 -0700 (Wed, 11 Jul 2012)
New Revision: 8447
Modified:
trunk/mapbender/http/classes/class_iso19139.php
Log:
Resolve problem in differences between inspire and iso19128 declaration of metadataurl elements ;-)
Modified: trunk/mapbender/http/classes/class_iso19139.php
===================================================================
--- trunk/mapbender/http/classes/class_iso19139.php 2012-07-10 14:07:51 UTC (rev 8446)
+++ trunk/mapbender/http/classes/class_iso19139.php 2012-07-12 06:33:48 UTC (rev 8447)
@@ -728,7 +728,7 @@
//following information must be given:
//randomId, href, format, type, origin, owner
//TODO: that empty identifier not identified - see comparing linkage
- if (($this->type == 'ISO19115:2003' && $this->format =='text/xml') || ($this->type == 'TC211' && $this->format =='text/xml') || ($this->type == 'ISO19115:2003' && $this->format =='application/vnd.iso.19139+xml')) {
+ if ((($this->type == 'ISO19115:2003' || $this->type == 'ISO 19115:2003') && $this->format =='text/xml') || ($this->type == 'TC211' && $this->format =='text/xml') || (($this->type == 'ISO19115:2003' || $this->type == 'ISO 19115:2003') && $this->format =='application/vnd.iso.19139+xml')) {
$e = new mb_notice("class_Iso19139:"."try to parse: ".$this->href);
$metadata = $this->createFromUrl($this->href); //will alter object itself
$e = new mb_notice("class_Iso19139:"."Metadata found: ".$this->metadata);
More information about the Mapbender_commits
mailing list