Files
browser/src/html5ever
Karl Seguin 25aa46a6ca webapi: xml parsing reject documetns that are not well formed
Hooks into the xml5ever parse_error callback to capture parse errors and reject
malformed XML. Because of this stricter error handling, we need to do some
input pre-processing for edge cases (thank you WPT). We need to strip out
<!DOCTYPE svg [ <!ENTITY ...> ]> which comes form Illustrator SVG export since
that now causes errors (but should be ignored).

Finally, by default xml5ever closes any opened tags at the end of the stream.
Per WPT, these should be invalid.

The rust work was all Claude-driven.
2026-08-19 08:52:15 +08:00
..
2026-07-22 13:26:06 +08:00
2026-05-27 19:11:43 +08:00
2026-05-27 19:11:43 +08:00