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
$"[Operation Add] Element '{GetElementInfo(addedChild)}' with pos=before to parent '{GetElementInfo(originalElem)}'."
760
-
);
761
-
}
762
-
else
763
-
{
764
-
// Fall back to the regular add operation if XPath contains numeric IDs
765
-
addOp.Add(addedChild);
766
-
Logger.Info(
767
-
$"[Operation Add] Element '{GetElementInfo(addedChild)}' to parent '{GetElementInfo(originalElem)}' (pos=before comment found but using regular add due to numeric XPath)."
768
-
);
769
-
}
770
-
}
771
-
else
772
-
{
773
-
// Use the regular add operation
774
-
addOp.Add(addedChild);
775
-
Logger.Info($"[Operation Add] Element '{GetElementInfo(addedChild)}' to parent '{GetElementInfo(originalElem)}'.");
776
-
}
777
-
}
778
-
779
-
// Only add the regular addOp if it has children
780
-
if(addOp.HasElements)
781
-
{
782
-
DiffRootAddOperation(diffRoot,addOp);
751
+
addOp.Add(addedChild);
752
+
Logger.Info($"[Operation Add] Element '{GetElementInfo(addedChild)}' to parent '{GetElementInfo(originalElem)}'.");
$"[Operation add] Element '{GetElementInfo(addedChild)}' with pos=before to parent '{GetElementInfo(originalElem)}'."
850
-
);
851
-
}
852
-
else
853
-
{
854
-
// Fall back to the regular add operation if XPath contains numeric IDs
855
-
addOp.Add(addedChild);
856
-
Logger.Info(
857
-
$"[Operation add] Element '{GetElementInfo(addedChild)}' to parent '{GetElementInfo(originalElem)}' (pos=before comment found but using regular add due to numeric XPath)."
858
-
);
859
-
}
860
-
}
861
-
else
862
-
{
863
-
// Use the regular add operation
864
-
addOp.Add(addedChild);
865
-
Logger.Info($"[Operation add] Element '{GetElementInfo(addedChild)}' to parent '{GetElementInfo(originalElem)}'.");
866
-
}
808
+
addOp.Add(addedChild);
809
+
Logger.Info($"[Operation add] Element '{GetElementInfo(addedChild)}' to parent '{GetElementInfo(originalElem)}'.");
0 commit comments