I'm using set:distinct, which is failing.
Tracing through the code, I find that when the library tries to return an iterator, it fails on the lookup of System.Xml.XPath.XPathArrayIterator.
I've built, signed with caspol, and added to the GAC, but to no avail.
Any ideas on how to figure this out?