Lines Matching full:entity
294 * correctly reported. Based on the external entity test cases.
299 "<doc>&entity;</doc>"; in START_TEST()
316 "<doc>&entity;</doc>"; in START_TEST()
346 " <!ENTITY en SYSTEM 'http://example.org/entity.ent'>\n" in START_TEST()
362 /* Test more external entity allocation failure paths */
366 " <!ENTITY en SYSTEM 'http://example.org/entity.ent'>\n" in START_TEST()
391 fail("External entity parsed despite duff allocator"); in START_TEST()
393 fail("External entity not parsed at max allocation count"); in START_TEST()
400 " <!ENTITY en SYSTEM 'http://example.org/dummy.ent'>\n" in START_TEST()
430 "<!DOCTYPE test [<!ENTITY foo 'bar'>]>\n" in START_TEST()
447 fail("Internal entity worked despite failing allocations"); in START_TEST()
449 fail("Internal entity failed at max allocation count"); in START_TEST()
458 "<!ENTITY e SYSTEM 'http://example.org/e'>\n" in START_TEST()
460 "<!ENTITY e1 SYSTEM 'http://example.org/e' NDATA n>\n" in START_TEST()
579 /* Same test for external entity parsers */
582 " <!ENTITY en SYSTEM 'http://example.org/dummy.ent'>\n" in START_TEST()
650 /* Test handling of a public entity with failing allocator */
656 "<!ENTITY % e1 PUBLIC 'foo' 'bar.ent'>\n" in START_TEST()
657 "<!ENTITY % " in START_TEST()
700 fail("Entity declaration handler not called"); in START_TEST()
709 "<!ENTITY % " in START_TEST()
862 "<doc>&entity;</doc>"; in START_TEST()
1099 "<!ENTITY e SYSTEM 'http://example.org/e' NDATA " in START_TEST()
1140 fail("Entity declaration handler not called"); in START_TEST()
1167 "<!ENTITY e SYSTEM 'http://example.com/e' NDATA note>\n" in START_TEST()
1216 "<!ENTITY e SYSTEM 'http://example.com/e' NDATA note>\n" in START_TEST()
1450 = "<!DOCTYPE doc [<!ENTITY foo '" in START_TEST()
1452 "This entity will be substituted as an attribute value, and is " in START_TEST()
1581 = "<!DOCTYPE test [<!ENTITY foo '\n" in START_TEST()
1620 /* Test that an error in a nested parameter entity substitution is
1629 = {"<!ENTITY % pe1 '" in START_TEST()
1648 "<!ENTITY % pe2 '%pe1;'>\n" in START_TEST()
1649 "<!ENTITY % pe3 '%pe2;'>", in START_TEST()
1658 "Entity allocation failure not noted"); in START_TEST()
1666 = "<!ENTITY % pe '<!ATTLIST doc att CDATA \"" in START_TEST()
1669 "return right at the end of the entity string causes an internal " in START_TEST()
1712 = "<!ENTITY % pe '<!ATTLIST doc att CDATA \"" in START_TEST()
1715 "entity at the end causes an internal string pool to have to " in START_TEST()
1764 " a8 ENTITY #IMPLIED\n" in START_TEST()
1830 " <!ENTITY e SYSTEM 'foo'>\n" in START_TEST()
1883 " <!ENTITY e PUBLIC '" in START_TEST()
1930 " <!ENTITY e1 '" in START_TEST()
1932 "Long entity value that should provoke a string pool to grow whil" in START_TEST()
1933 "e setting up to parse the external entity below. xyz0123456789AB" in START_TEST()
1949 " <!ENTITY e2 SYSTEM 'bar'>\n" in START_TEST()
1997 " <!ENTITY e1 SYSTEM 'foo' NDATA " in START_TEST()
2016 " <!ENTITY e2 SYSTEM 'bar'>\n" in START_TEST()
2020 = {{XCS("foo"), "Entity Foo"}, {XCS("bar"), "Entity Bar"}, {NULL, NULL}}; in START_TEST()
2056 fail("Call to parse was expected to fail from the external entity handler"); in START_TEST()