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

text() function does not work in xpath evaluation on XML API

    Details

    • Similar Issues:

      Description

      get http://myserver/job/jobname/185/api/xml?xpath=/*/number
      <number>185</number>

      get http://myserver/job/jobname/185/api/xml?xpath=/*/number/text()
      Error 330 (net::ERR_CONTENT_DECODING_FAILED): Unknown error.

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Daniel Beck
            Path:
            core/src/main/java/hudson/model/Api.java
            http://jenkins-ci.org/commit/jenkins/0a241aafdbdf3ad15d34efa3077658c5770b9195
            Log:
            [JENKINS-17374 JENKINS-18116] Don't set gzip header for error

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Daniel Beck Path: core/src/main/java/hudson/model/Api.java http://jenkins-ci.org/commit/jenkins/0a241aafdbdf3ad15d34efa3077658c5770b9195 Log: [JENKINS-17374 JENKINS-18116] Don't set gzip header for error
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -
            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: changelog.html http://jenkins-ci.org/commit/jenkins/f56a3bdae5baa68a7427efdface0a04028e7d010 Log: JENKINS-17374 JENKINS-18116 Noting merge of #1260. Compare: https://github.com/jenkinsci/jenkins/compare/3f8fc4e2ec5b...f56a3bdae5ba
            Hide
            dogfood dogfood added a comment -

            Integrated in jenkins_main_trunk #3430
            [JENKINS-17374 JENKINS-18116] Don't set gzip header for error (Revision 0a241aafdbdf3ad15d34efa3077658c5770b9195)
            JENKINS-17374 JENKINS-18116 Noting merge of #1260. (Revision f56a3bdae5baa68a7427efdface0a04028e7d010)

            Result = SUCCESS
            daniel-beck : 0a241aafdbdf3ad15d34efa3077658c5770b9195
            Files :

            • core/src/main/java/hudson/model/Api.java

            Jesse Glick : f56a3bdae5baa68a7427efdface0a04028e7d010
            Files :

            • changelog.html
            Show
            dogfood dogfood added a comment - Integrated in jenkins_main_trunk #3430 [JENKINS-17374 JENKINS-18116] Don't set gzip header for error (Revision 0a241aafdbdf3ad15d34efa3077658c5770b9195) JENKINS-17374 JENKINS-18116 Noting merge of #1260. (Revision f56a3bdae5baa68a7427efdface0a04028e7d010) Result = SUCCESS daniel-beck : 0a241aafdbdf3ad15d34efa3077658c5770b9195 Files : core/src/main/java/hudson/model/Api.java Jesse Glick : f56a3bdae5baa68a7427efdface0a04028e7d010 Files : changelog.html
            Hide
            danielbeck Daniel Beck added a comment -

            Nominating the content decoding fix as lts-candidate.

            Show
            danielbeck Daniel Beck added a comment - Nominating the content decoding fix as lts-candidate.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Daniel Beck
            Path:
            core/src/main/java/hudson/model/Api.java
            http://jenkins-ci.org/commit/jenkins/58e6c7ba4d7fafc9dcfd349476876e2876b86d5b
            Log:
            [JENKINS-17374 JENKINS-18116] Don't set gzip header for error

            (cherry picked from commit 0a241aafdbdf3ad15d34efa3077658c5770b9195)

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Daniel Beck Path: core/src/main/java/hudson/model/Api.java http://jenkins-ci.org/commit/jenkins/58e6c7ba4d7fafc9dcfd349476876e2876b86d5b Log: [JENKINS-17374 JENKINS-18116] Don't set gzip header for error (cherry picked from commit 0a241aafdbdf3ad15d34efa3077658c5770b9195)

              People

              • Assignee:
                Unassigned
                Reporter:
                navado Robert Navado
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: