Closed (fixed)
Project:
Drupal.org customizations
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
13 Nov 2018 at 18:33 UTC
Updated:
17 Feb 2019 at 21:34 UTC
Jump to comment: Most recent
Comments
Comment #2
drummComment #4
drummIt looks like the way we are altering additional information into the response, like #2950080: Create an aggregated feed for SimplyTest.me, would basically have to be written twice to also support XML. The raw data used for the output formatter,
DOMDocumentfor XML & arrays for JSON, is passed to the hook. So we’d either have to add parallel code to handle the XML-related objects, or move this data altering earlier in the process.Rather than spend all this extra effort, I’m skipping these additions to the XML. JSON is generally preferred over XML by developers, and we have not had many complaints about the XML not working for months.