Test handling of right square bracket at end of content data
This commit is contained in:
parent
fe2e255025
commit
8bdf2bc102
@ -1747,7 +1747,7 @@ record_cdata_nodefault_handler(void *userData,
|
||||
/* Test XML_DefaultCurrent() passes handling on correctly */
|
||||
START_TEST(test_default_current)
|
||||
{
|
||||
const char *text = "<doc>hello</doc>";
|
||||
const char *text = "<doc>hell]</doc>";
|
||||
const char *entity_text =
|
||||
"<!DOCTYPE doc [\n"
|
||||
"<!ENTITY entity '%'>\n"
|
||||
|
Loading…
Reference in New Issue
Block a user