Is there a method in Saxon, or another library, that will tell me if an XPath query is valid syntax. Not if it will return something, not if the nodes exist in an XML file, but if it's valid syntax.
I need to use this to determine if a query is XPath vs an equation we handle ourselves.
thanks - dave