Todo18
Todo18
Sure. Here's a sample test: ``` c# using System.Diagnostics; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Xml.XPath; using Wmhelp.XPath2; namespace Test.Functional { [TestClass] public class Compliancy { [TestMethod] public void XPath2SelectNodes_Count_Returns_Number_Of_Items_In_Expression() { var xIn...
Apologies, I'm short on time these days. I will inspect our integration and let you know my findings.
I'm checking it today. :)
I've taken the exact same code that you provided above, together with the v1.1.3 Nuget from the built-in Nuget manager in VS, and it fails the test. I have no...
So I've had some more time to check. Before diving further into (proprietary) code, could you please try and rephrase your unit tests to conform to ours, and check the...
To my knowledge, they are _not_ the same: `Count` (in our code) is a **property** of `XPathNoteIterator` (see [here](https://learn.microsoft.com/en-us/dotnet/api/system.xml.xpath.xpathnodeiterator.count?view=net-7.0)), while `HaveCount` calls the `Count` **method** of `Enumerable` (see [here](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.count?view=net-7.0)). The...
True, but positions start counting at 1 according to the XPath specs, so this interpretation of Count makes sense when you have for example 3 nodes with indices 1 to...
I printed the first item of the set, not the last. It was simply to illustrate the numbering of indices behind the scenes. But you're right, I've adjusted the fiddle...