Forum Discussion
SmartBear_Suppo
16 years agoSmartBear Alumni (Retired)
Hi Mary,
sorry for the delayed response.. the tricky thing here is that your CDATA has HTML embedded, and whenever we replace some entity or something we will potentially "create" an xml from the html that is not a valid xml document.. In your case you could try replacing "> with '>' (note the leading quote), just replace > again will probably make the document even more incorrect..
Exactly what kind of validations are you performing? Could these be done using the standard Contains assertion instead?
regards!
/Ole
eviware.com
sorry for the delayed response.. the tricky thing here is that your CDATA has HTML embedded, and whenever we replace some entity or something we will potentially "create" an xml from the html that is not a valid xml document.. In your case you could try replacing "> with '>' (note the leading quote), just replace > again will probably make the document even more incorrect..
Exactly what kind of validations are you performing? Could these be done using the standard Contains assertion instead?
regards!
/Ole
eviware.com
Related Content
- 11 years ago
Recent Discussions
- 10 days ago