Skip to content

Commit 62f26d1

Browse files
authored
Merge pull request #853 from meyerbaptiste/fix_attributes_values_xml_extractor
Fix attributes values for the XML extractor
2 parents ede7b9a + 6eda779 commit 62f26d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Metadata/Extractor/XmlExtractor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ private function getAttributes(\SimpleXMLElement $resource, string $elementName)
6666
if (isset($attribute->attribute[0])) {
6767
$value = $this->getAttributes($attribute, 'attribute');
6868
} else {
69-
$value = (string) $attribute;
69+
$value = XmlUtils::phpize($attribute);
7070
}
7171

7272
if (isset($attribute['name'])) {

0 commit comments

Comments
 (0)