-
Bug
-
Resolution: Not A Defect
-
Critical
-
Development
XML view option for Job Config History stopped working after upgrading the Jenkins LTS 2.121.1 to 2.138.1. Job Configuration History Plugin 1.18 to 1.18.2.
Viewing as RAW works, however XML throws an error
This page contains the following errors:
error on line 1 at column 1: Document is empty
Below is a rendering of the page up to the first error.
- relates to
-
JENKINS-48463 Jenkins should create xml 1.1 output in order to support control characters that are illegal in xml 1.0
-
- Closed
-
Hello farukhkhan123,
thanks for opening this issue. However, this is not an issue of JobConfigHistory.
In Jenkins core 2.105 XML 1.1 was introduced (see:
JENKINS-48463). Most XML parsers of webbrowsers do not support XML 1.1 yet. When you try to view config files persisted with an earlier jenkins core version than 2.105, there won't be any problem as the XML files are still of version 1.0.So the issue is related to the XML parser of your webbrowser.
Jochen