Closed mauritsvanrees closed 4 months ago
From that changelog it seems that the output document when parsed with the html parser no longer strips the prefix but includes it in the tag name. I'm not sure whether it's possible to escape the :
character to write an xpath for it, but then it would stop working with lxml 4. Probably easiest to just delete the xpaths.txt file since we test the output anyway.
In Plone 6.0 and 6.1 we still use lxml 4. When I update to lxml 5.1.0 one Diazo test fails:
So it fails here while using the files from the
esi
directory.Maybe this hint in the tests about switching to "Xpath default namespaces" could help.
The probably relevant part of the lxml changelog under 5.0.0: