insomnia
insomnia copied to clipboard
xml response preview adds `undefined` to the response
Expected Behavior
when I receive an xml response by a Get call an API , raw preview mode shows the right data however the visual preview mode messes up the response :
raw mode :
...
<title>Extended Forecast - Southern Lake Huron</title>
<link type="text/html" href="https://www.weather.gc.ca/marine/forecast_e.html?mapID=10&siteID=07605#forecast"/>
<updated>2024-09-26T07:00:00Z</updated>
<published>2024-09-26T07:00:00Z</published>
<category term="Marine Forecasts"/>
<summary type="html">Saturday: Wind east 15 knots.<br/>Sunday: Wind northeast 15 knots.<br/>Monday: Wind east 15 knots.<br/>Issued 03:00 AM EDT 26 September 2024</summary>
<id>tag:weather.gc.ca,2013-04-16:07605_extended_forecast:20240926070000</id>
</entry>
</feed>
preview mode :
...
<title>Extended Forecast - Northern Lake Huron</title>
<link type="text/html" href="https://www.weather.gc.ca/marine/forecast_e.html?mapID=10&siteID=07601#forecast"/>
<updated>2024-09-26T07:00:00Z</updated>
<published>2024-09-26T07:00:00Z</published>
<category term="Marine Forecasts"/>
<summary type="html">Saturday: Wind east 15 knots.<br/>Sunday: Wind northeast 15 knots.<br/>Monday: Wind east 15 knots.<br/>Issued 03:00 AM EDT 26 September 2024</summary>undefined<id>tag:weather.gc.ca,2013-04-16:07601_extended_forecast:20240926070000</id>undefined</entry>undefined<entry>undefined<title>Forecast for Today Tonight and Friday. - Southern Lake Huron</title>undefined<link type="text/html" href="https://www.weather.gc.ca/marine/forecast_e.html?mapID=10&siteID=07605#forecast"/>undefined<updated>2024-09-26T14:30:00Z</updated>undefined<published>2024-09-26T14:30:00Z</published>undefined<category term="Marine Forecasts"/>undefined<summary type="html">Wind variable 10 knots becoming east 10 near midnight then
increasing to northeast 15 near noon Friday. Wind veering to east 15 Friday
evening. <br/>Issued 10:30 AM EDT 26 September 2024</summary>undefined<id>tag:weather.gc.ca,2013-04-16:07605_regular_forecast:20240926143000</id>undefined</entry>undefined<entry>undefined<title>Waves for Today Tonight and Friday. - Southern Lake Huron</title>undefined<link type="text/html" href="https://www.weather.gc.ca/marine/forecast_e.html?mapID=10&siteID=07605#forecast"/>undefined<updated>2024-09-26T14:30:00Z</updated>undefined<published>2024-09-26T14:30:00Z</published>undefined<category term="Marine Forecasts"/>undefined<summary type="html">Waves 0.5 metres or less building to 0.5 to 1 Friday
afternoon.<br/>Issued 10:30 AM EDT 26 September 2024</summary>undefined<id>tag:weather.gc.ca,2013-04-16:07605_waves:20240926143000</id>undefined</entry>undefined<entry>undefined<title>Extended Forecast - Southern Lake Huron</title>undefined<link type="text/html" href="https://www.weather.gc.ca/marine/forecast_e.html?mapID=10&siteID=07605#forecast"/>undefined<updated>2024-09-26T07:00:00Z</updated>**undefined**<published>2024-09-26T07:00:00Z</published>undefined<category term="Marine Forecasts"/>**undefined**<summary type="html">Saturday: Wind east 15 knots.<br/>Sunday: Wind northeast 15 knots.<br/>Monday: Wind east 15 knots.<br/>Issued 03:00 AM EDT 26 September 2024</summary>**undefined**<id>tag:weather.gc.ca,2013-04-16:07605_extended_forecast:20240926070000</id>**undefined**</entry>undefined</feed>
for some reason it adds undefined in between nodes
Version: Insomnia 10.0.0 Build date: 9/9/2024 OS: Windows_NT x64 10.0.19045 Electron: 31.4.0 Node: 20.16.0 Node ABI: 125 V8: 12.6.228.30-electron.0 Architecture: x64
Actual Behavior
visual preview should be a true representation of raw data
Reproduction Steps
- call an api with get method with an xml response
- In preview tab under preview mode click on
raw - in preview tab under preview mode click on
preview - and compare the result
Is there an existing issue for this?
- [X] I have searched the issue tracker for this problem.
Additional Information
No response
Insomnia Version
10.0.0
What operating system are you using?
Windows
Operating System Version
Windows 10
Installation method
windows installer
Last Known Working Insomnia version
No response