Commit 6273df6c6d84b6be8a62a62abf1d9b79cc2035f8

Nick Wellnhofer 2023-05-30T12:30:27

xpath: Ignore entity ref nodes when computing node hash XPath queries only work reliably if entities are substituted. Nevertheless, it's possible to query a document with entity reference nodes. xmllint even deletes entities when the `--dropdtd` option is passed, resulting in dangling pointers, so it's best to skip entity reference nodes to avoid a use-after-free. Fixes #550.