Let me start by saying this library has been a lifesaver for us, so thank you.
We are using this to run the XPath expressions from an XSD document to pre-validate a user generated XML document before it is submitted through a webpage. When full validation is done with the schema document type annotations are added which are then used by the XPath expressions.
I'd like to be able to use the same XPath assertion expressions in the webpage but this requires that the XPath executor have knowledge of the types of the elements. I have a patch which I have started using to achieve this here: https://gist.github.com/Parakleta/3fd775fc9170954280bb
It would be good if this functionality could please be added to the jquery.xpath library.
Thanks.