Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-48463

Jenkins should create xml 1.1 output in order to support control characters that are illegal in xml 1.0

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      The current implementation of XmlFile.java emits an XML 1.0 header, which breaks things like Move/Copy/Promote if the user has included any characters that are illegal in XML 1.0 (such as Control-XX, etc) in their jobs.
      XStream, which is used for serialization/deserialization, deals with XML fragments, and doesn't have an issue reading/writing this non well-formed XML. Changing XmlFile.java so that it creates xml 1.1  here will allow jenkins config files to support these special characters. This also requires updating the underlying XML Pull Parser being used by XStream to something that support XML v1.1

        Attachments

          Issue Links

            Activity

            mikecirioli mike cirioli created issue -
            mikecirioli mike cirioli made changes -
            Field Original Value New Value
            Remote Link This issue links to "Pull Request #3185 (Web Link)" [ 19332 ]
            cloudbees CloudBees Inc. made changes -
            Remote Link This issue links to "CloudBees Internal OSS-2590 (Web Link)" [ 19334 ]
            oleg_nenashev Oleg Nenashev made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            batmat Baptiste Mathus made changes -
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Closed [ 6 ]
            cloudbees CloudBees Inc. made changes -
            Remote Link This issue links to "CloudBees Internal CJP-8409 (Web Link)" [ 20141 ]
            amuniz Antonio Muñiz made changes -
            Remote Link This issue links to "CloudBees Internal CJP-8409 (Web Link)" [ 20141 ]
            cloudbees CloudBees Inc. made changes -
            Remote Link This issue links to "CloudBees Internal CJP-8409 (Web Link)" [ 20173 ]
            oleg_nenashev Oleg Nenashev made changes -
            Link This issue relates to JENKINS-50358 [ JENKINS-50358 ]
            ioannis Ioannis Moutsatsos made changes -
            Attachment image-2018-08-30-17-20-59-194.png [ 43970 ]
            jochenafuerbacher Jochen A. Fürbacher made changes -
            Link This issue relates to JENKINS-54146 [ JENKINS-54146 ]

              People

              Assignee:
              mikecirioli mike cirioli
              Reporter:
              mikecirioli mike cirioli
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: