You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The change has been necessary to handle XML document and fragments. A root node without siblings can skip the document position if not explicitly selected by the XPath expression (e.g. /root/trunk). A comment sibling of the root element can't be ignored so the initial position is set to the document.
The keyword arguments item and fragment can be used to set the initial node or to skip the dummy document creation.
Hi,
I stumbled upon this issue while upgrading from
4.1.5
. I can reproduce in4.2.0
and later.The text was updated successfully, but these errors were encountered: