Hello, I have an xpath like //xhtml:title[text()='Page Title']
and am getting an error from RestFixture that reads
java.lang.IllegalArgumentException: Cannot extract xpath '//xhtml:title[text='Page Title']' from the document
When I remove the from the document and the xhtml namespace from the xpath string it works fine.
When I do an xpath query with 4xpath on the command line it does not work unless I specify the --namespace=xhtml=http://www.w3.org/1999/xhtml switch and include the namespace specifier in the xpath string.
I guess the question is, is there anyway to specify the namespace with RestFixture or is there any black magic that needs to be done to get xpath to work with RestFixture on a xhtml strict document?