Test UTF-8 byte order mark in parameter entity value parsing

This commit is contained in:
Rhodri James 2017-03-02 19:08:27 +00:00 committed by Sebastian Pipping
parent c45340e138
commit 9de593495c

View File

@ -3755,6 +3755,13 @@ START_TEST(test_external_entity_values)
NULL,
XML_ERROR_XML_DECL
},
{
/* UTF-8 BOM */
"\xEF\xBB\xBF<!ATTLIST doc a1 CDATA 'value'>",
NULL,
NULL,
XML_ERROR_NONE
},
{ NULL, NULL, NULL, XML_ERROR_NONE }
};
int i;