}
// @todo Find and store type of xml snippet. metadata['metadataType'] = "rdf"
if ( method_exists( $this->reader, 'readInnerXML' ) ) {
- $this->metadata[$metafield] = trim( $this->reader->readInnerXML() );
+ $this->metadata[$metafield] = trim( $this->reader->readInnerXml() );
} else {
throw new MWException( "The PHP XMLReader extension does not come " .
"with readInnerXML() method. Your libxml is probably out of " .
) {
$sysLang = $this->reader->getAttribute( 'systemLanguage' );
if ( !is_null( $sysLang ) && $sysLang !== '' ) {
- // See http://www.w3.org/TR/SVG/struct.html#SystemLanguageAttribute
+ // See https://www.w3.org/TR/SVG/struct.html#SystemLanguageAttribute
$langList = explode( ',', $sysLang );
foreach ( $langList as $langItem ) {
$langItem = trim( $langItem );
/**
* Return a rounded pixel equivalent for a labeled CSS/SVG length.
- * http://www.w3.org/TR/SVG11/coords.html#UnitIdentifiers
+ * https://www.w3.org/TR/SVG11/coords.html#Units
*
* @param string $length CSS/SVG length.
* @param float|int $viewportSize Optional scale for percentage units...