Problem/Motivation
The optional <content:encoded>
element defines the full content of an <item>
. Its value should be either entity-encoded or CDATA-escaped version of the content of the item.
Current format_xml_elements()
implementation though does not allow for CDATA-escaped values (or unencoded in general) - they always get entity-encoded.
Resources:
Proposed resolution
Modify format_xml_elements()
implementation to allow unencoded values if requested directly (by adding new encoded
property to XML element). Keep current behaviour if property is not set to ensure full backwards compatibility.
Remaining tasks
None.
User interface changes
None.
API changes
None.