Skip to content

Use regex instead escape method for !CDATA #69

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

tititestor
Copy link

Hi, and sorry for my English,

For CDATA in XML, "& , > , <" are allowed.
But escape method in xml.saxs.saxutils remove these characters.

So, I use regex to remove only code colors and now, the code of test is correct in test result in TFS.

BR,
Titi

@Sandpitturtleee
Copy link

Hi,
I also encountered this problem with redundant escapes in CDATA elements while publishing test results in TFS.
Fix proposed by tititestor works great and solves the problem. I hope that this pull request will be completed soon.
BR,
Sandpitturtleee

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants