Lines Matching refs:entity

37 // Typical convmap, typical numeric entity-encoded string
58 // Large decimal entity, converting from non-ASCII input encoding
81 test("10 digits for decimal entity", "A", "A", [0, 0xFFFF, 0, 0xFFFF], 'ASCII');
82 test("More than 10 digits for decimal entity", "¥", "¥", [0, 0xFFFF, 0, 0…
84 test("8 digits for hex entity", "A", "A", [0, 0xFFFF, 0, 0xFFFF], 'ASCII');
85 test("More than 8 digits for hex entity", "Ł", "Ł", [0, 0xFFFF, 0, 0xFFFF],…
89 // An entity can come right after a preceding ampersand
92 // An entity can come right after a preceding &#
98 // The starting & of an entity can terminate a preceding entity
102 // An entity can come right after an entity which is invalid because of being too long
103 test("Starting entity immediately after decimal entity which is too long", "&#10000000000A", "&…
104 test("Starting entity immediately after hex entity which is too long", "&#x111111111A", "&#x111…
106 test("Starting entity immediately after invalid decimal entity", "&#0A", "&#0A", [0x1, 0xFFFF, …
107 test("Starting entity immediately after invalid hex entity", "&#x0A", "&#x0A", [0x1, 0xFFFF, 0,…
132 die("Decimal entity with huge number of digits broken");
136 die("Hexadecimal entity with huge number of digits broken");
164 10 digits for decimal entity: string(13) "A" => string(1) "A" (Good)
165 More than 10 digits for decimal entity: string(14) "¥" => string(14) "¥" …
166 8 digits for hex entity: string(12) "A" => string(1) "A" (Good)
167 More than 8 digits for hex entity: string(13) "Ł" => string(13) "Ł" (Good)
175 Starting entity immediately after decimal entity which is too long: string(18) "&#10000000000A"…
176 Starting entity immediately after hex entity which is too long: string(17) "&#x111111111A" => s…
177 Starting entity immediately after invalid decimal entity: string(8) "&#0A" => string(4) "&#0A" …
178 Starting entity immediately after invalid hex entity: string(9) "&#x0A" => string(5) "&#x0A" (G…