← 输入框|github.com|刷新
Skip to content

special characters are not escaped in UT_XUNIT_REPORTER #499

Closed

Description

@MickeVr

I am using utPLSQL-sql-cli to let the UT_XUNIT_REPORTER create a file with the results of the utplsql3 unit tests. My Jenkins pipeline project should pick up the generated xml, but is giving an arror after I have added a test with a description that contains an "<" character, e.g.
-- %test(Test a case where A <> B)

Jenkins reports the following error:
Failed to read test report file C:\Jenkins\workspace\A\utPLSQL-sql-cli\unit_test_output.xml org.dom4j.DocumentException: Error on line 1246 of document : The value of attribute "name" associated with an element type "testcase" must not contain the '<' character.

I would expect that I can use special XML characters in the name of a test, and that the reporter will escape them.

Activity

  1. added this to the v3.1.0 milestone on Oct 23, 2017
  2. added a commit that references this issue on Oct 24, 2017
    2a32620
  3. self-assigned this
    on Oct 24, 2017
  4. modified the milestones: v3.1.0, v3.0.4 on Nov 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions