diff --git a/application/models/ISO19115.php b/application/models/ISO19115.php index 6acc47dd..96fb4311 100755 --- a/application/models/ISO19115.php +++ b/application/models/ISO19115.php @@ -371,7 +371,7 @@ class ISO19115 function parse() { $this->resTitle=$this->dom->getElementsByTagName('resTitle')->item(0)->nodeValue; - $this->resAltTitle=$this->dom->getElementsByTagName('resAltTitle')->item(0)->nodeValue; + @$this->resAltTitle=$this->dom->getElementsByTagName('resAltTitle')->item(0)->nodeValue; $this->idAbs=$this->dom->getElementsByTagName('idAbs')->item(0)->nodeValue; $this->mdFileID=$this->dom->getElementsByTagName('mdFileID')->item(0)->nodeValue; $this->mdDateSt=$this->dom->getElementsByTagName('mdDateSt')->item(0)->nodeValue; @@ -381,7 +381,7 @@ class ISO19115 //项目支持信息 @$this->suppinfo=$this->dom->getElementsByTagName('suppInfo')->item(0)->nodeValue; //DOI,自定义项 - $cittype=$this->dom->getElementsByTagName('citIdType')->item(0)->nodeValue; + @$cittype=$this->dom->getElementsByTagName('citIdType')->item(0)->nodeValue; if ($cittype=='DOI') $this->doi=$this->dom->getElementsByTagName('citId')->item(0)->nodeValue; //数据大小,以MB为单位 @@ -418,7 +418,7 @@ class ISO19115 { $this->author[$cnt+$j]['individual']=$author->getElementsByTagName('rpIndName')->item(0)->nodeValue; $this->author[$cnt+$j]['organisation']=$author->getElementsByTagName('rpOrgName')->item(0)->nodeValue; - $this->author[$cnt+$j]['position']=$author->getElementsByTagName('rpPosName')->item(0)->nodeValue; + @$this->author[$cnt+$j]['position']=$author->getElementsByTagName('rpPosName')->item(0)->nodeValue; $this->author[$cnt+$j]['delivery']=$author->getElementsByTagName('delPoint')->item(0)->nodeValue; $this->author[$cnt+$j]['phone']=$author->getElementsByTagName('voiceNum')->item(0)->nodeValue; $this->author[$cnt+$j]['email']=$author->getElementsByTagName('eMailAdd')->item(0)->nodeValue; @@ -434,7 +434,7 @@ class ISO19115 { $this->author[$cnt+$m]['individual']=$author->getElementsByTagName('rpIndName')->item(0)->nodeValue; $this->author[$cnt+$m]['organisation']=$author->getElementsByTagName('rpOrgName')->item(0)->nodeValue; - $this->author[$cnt+$m]['position']=$author->getElementsByTagName('rpPosName')->item(0)->nodeValue; + @$this->author[$cnt+$m]['position']=$author->getElementsByTagName('rpPosName')->item(0)->nodeValue; $this->author[$cnt+$m]['delivery']=$author->getElementsByTagName('delPoint')->item(0)->nodeValue; $this->author[$cnt+$m]['phone']=$author->getElementsByTagName('voiceNum')->item(0)->nodeValue; $this->author[$cnt+$m]['email']=$author->getElementsByTagName('eMailAdd')->item(0)->nodeValue; @@ -572,8 +572,8 @@ class ISO19115 foreach($ds as $k=>$dataset) { $this->datasetSeries[$k]['seriesName']=$dataset->getElementsByTagName('seriesName')->item(0)->nodeValue; - $this->datasetSeries[$k]['issId']=$dataset->getElementsByTagName('issId')->item(0)->nodeValue; - $this->datasetSeries[$k]['artPage']=$dataset->getElementsByTagName('artPage')->item(0)->nodeValue; + @$this->datasetSeries[$k]['issId']=$dataset->getElementsByTagName('issId')->item(0)->nodeValue; + @$this->datasetSeries[$k]['artPage']=$dataset->getElementsByTagName('artPage')->item(0)->nodeValue; } //unsure which one. $ds=$this->dom->getElementsByTagName('Series');