public override XmlNodeOrder ComparePosition(XPathNavigator other)
{
if (other == null)
{
return XmlNodeOrder.Unknown; // this is what XPathDocument does.
}
DataDocumentXPathNavigator otherDataDocXPathNav = other as DataDocumentXPathNavigator;
return otherDataDocXPathNav == null || otherDataDocXPathNav.Document != _doc ?
XmlNodeOrder.Unknown :
_curNode.ComparePosition(otherDataDocXPathNav.CurNode);
}
}