Commit 5c55332591d9ac5f5434fca7b6bb45d0612fc6d5

Nick Wellnhofer 2024-03-29T13:45:19

Revert "tree: Only allow elements in xmlDocSetRootElement" This reverts commit 4b698dbaec9bc6775fc8341ef8a3f0d8321f8548. lxml assumes that xmlDocSetRootElement works with non-elements.