W3C have recently published the first version of a test suite for XQuery, which is a superset of XPath, so one could use that as a basis. OASIS have in the past published tests for XSLT. I'm not aware of any suite of XPath tests as such.
Michael Kay
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi there,
I'm wondering if there exists a list of expressions which can be used to test conformance to the XPath specification (either version).
I had hoped that W3C would be kind enough to supply such a list, but unfortunately it appears not.
Google can't find one either.
Regards,
Joe.
W3C have recently published the first version of a test suite for XQuery, which is a superset of XPath, so one could use that as a basis. OASIS have in the past published tests for XSLT. I'm not aware of any suite of XPath tests as such.
Michael Kay