mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-03 06:31:42 +01:00
rdf_end_scan searched the open scopes with iter().rev().flatten().rev(), which reverses the flattened list a second time, so an outer declaration won over an inner rebinding. An ancestor binding rdf to the RDF namespace then hid an inner xmlns:rdf="urn:other": the inserted rdf:Description landed in the foreign namespace, and a shadowed </r:RDF> could be taken for the RDF end tag. Search the scopes innermost first. A parsed-XML regression covers an ancestor binding with an inner rebinding at the insertion point, and a shadowed closing tag in a later element.