Files
ladybird/Libraries/LibXML
Andreas Kling a5dd857380 LibWeb: Fix XML processing instruction placement
DOM pre-insertion validity allows processing instructions as
children of a document. However, Document::is_child_allowed()
still rejected them, so XML documents silently dropped valid
processing-instruction nodes and produced the wrong sibling
relationships.

Processing instructions that appear inside a DTD subset are not
document children and should not surface in the DOM tree. Ignore
those SAX callbacks while libxml is parsing the subset so the XML
parser builds the correct document structure.
2026-04-06 12:07:45 +02:00
..
2025-08-24 12:58:27 -06:00