Actions
Bug #4830
closedHTML response from ixsl:schedule-action is parsed as XML, causing failure
Start date:
2020-11-18
Due date:
% Done:
100%
Estimated time:
SEF Generated with:
Platforms:
Company:
-
Contact person:
-
Additional contact persons:
-
Description
(Reported by Martynas Jusevičius martynas@atomgraph.com on saxon-help mailing list on 2 Nov 2020).
Saxon receives an HTTP response with content type text/html and attempts to parse it as XML, causing a failure FODC0002.
In this particular case it's an error response with HTTP status 400, but I think the same failure could occur on a success response.
At BrowserPlatfform.js line 393 we do
case "text/html":
// HTML types
response.body = http.responseXML || parse(http.responseText);
break;
where parse() is invoking the XML parser. This looks incorrect.
Please register to edit this issue
Actions
Also available in: Atom PDF Tracking page