Open
Description
Feature Request
Q | A |
---|---|
New Feature | yes |
Summary
I’m trying to get content of Atom Entry where content is with type="application/xml"
In documentation https://validator.w3.org/feed/docs/atom.html#contentElement
content can have type attribute ends in +xml or /xml , then an xml document of this type is contained inline.
I have this xml:
<entry>
<content type="application/xml">
<m:properties>
<d:Code>10</d:Code>
<d:shopCode/>
<d:Description>Some description here</d:Description>
</m:properties>
</content>
</entry>
When we use \Laminas\Feed\Reader\Extension\Atom\Entry::getContent method we get empty string.
I’m expecting to get an array with keys and values.
In the code
laminas-feed/src/Reader/Extension/Atom/Entry.php
Lines 86 to 130 in 16d251b
Activity