-
Type:
Bug
-
Resolution: Won't Fix
-
Priority:
Low
-
Component/s: Space Administration - Workflows and statuses
-
None
-
1
-
Severity 3 - Minor
Summary
When exporting a workflow as XML, the first line of the generated XML file would be a blank line, followed by the XML declaration on the second line. This causes web browsers to be unable to open them, as they require the declaration on the first line of the file.
Environment
- Atlassian Cloud
Steps to Reproduce
- Export a workflow as XML
- Open the generated XML file using a web browser
Expected Results
The web browser opens the XML file correctly.
Actual Results
The web browser is not able to open the XML file. Instead, it returns an error.
Chrome:
This page contains the following errors: error on line 2 at column 6: XML declaration allowed only at the start of the document Below is a rendering of the page up to the first error.
Firefox:
XML Parsing Error: XML or text declaration not at start of entity Location: file:///test.xml Line Number 2, Column 1:<?xml version="1.0" encoding="UTF-8"?> ^
Workaround
Manually remove the blank first line using an XML text editor, and the web browsers should be able to open it.