private XmlNodeOrder CompareNamespacePosition(XPathNodePointer other)
{
XPathNodePointer xp1 = Clone((DataDocumentXPathNavigator)(_owner.Target));
XPathNodePointer xp2 = other.Clone((DataDocumentXPathNavigator)(other._owner.Target));
while (xp1.MoveToNextNamespace(XPathNamespaceScope.All))
{
if (xp1.IsSamePosition(other))
return XmlNodeOrder.Before;
}
return XmlNodeOrder.After;
}