We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| @@ 1734-1740 (lines=7) @@ | ||
| 1731 | ||
| 1732 | if ($type = $this->mets->xpath('./mets:dmdSec[@ID="'.(string) $dmdId.'"]/mets:mdWrap[not(@MDTYPE="OTHER")]/@MDTYPE')) { |
|
| 1733 | ||
| 1734 | if (!empty($this->formats[(string) $type[0]])) { |
|
| 1735 | ||
| 1736 | $type = (string) $type[0]; |
|
| 1737 | ||
| 1738 | $xml = $this->mets->xpath('./mets:dmdSec[@ID="'.(string) $dmdId.'"]/mets:mdWrap[@MDTYPE="'.$type.'"]/mets:xmlData/'.strtolower($type).':'.$this->formats[$type]['rootElement']); |
|
| 1739 | ||
| 1740 | } |
|
| 1741 | ||
| 1742 | } elseif ($type = $this->mets->xpath('./mets:dmdSec[@ID="'.(string) $dmdId.'"]/mets:mdWrap[@MDTYPE="OTHER"]/@OTHERMDTYPE')) { |
|
| 1743 | ||
| @@ 1744-1750 (lines=7) @@ | ||
| 1741 | ||
| 1742 | } elseif ($type = $this->mets->xpath('./mets:dmdSec[@ID="'.(string) $dmdId.'"]/mets:mdWrap[@MDTYPE="OTHER"]/@OTHERMDTYPE')) { |
|
| 1743 | ||
| 1744 | if (!empty($this->formats[(string) $type[0]])) { |
|
| 1745 | ||
| 1746 | $type = (string) $type[0]; |
|
| 1747 | ||
| 1748 | $xml = $this->mets->xpath('./mets:dmdSec[@ID="'.(string) $dmdId.'"]/mets:mdWrap[@MDTYPE="OTHER"][@OTHERMDTYPE="'.$type.'"]/mets:xmlData/'.strtolower($type).':'.$this->formats[$type]['rootElement']); |
|
| 1749 | ||
| 1750 | } |
|
| 1751 | ||
| 1752 | } |
|
| 1753 | ||