All Downloads are FREE. Search and download functionalities are using the official Maven repository.

FitNesseRoot.RestFixtureTests.IssueFixes.Issue170.content.txt Maven / Gradle / Ivy

There is a newer version: 4.4
Show newest version
!3 [[Issue #170][https://github.com/smartrics/RestFixture/issues/170]] How to validate HTML

The issue refers to inability to extract XPath from html.
Actually the html in the Issue #170 redefines the default namespace.
{{{


ACS Simulator
...
}}}

As such the namespace must be defined for the XPath:

|Table: Rest Fixture Config | conf |
|restfixture.xml.namespace.context| !- defalias=http://www.foo.org/ -! |

|Table: Rest Fixture |http://${jettyHost}:${jettyPort} | conf |
| GET | /files/support/issue170.html |  | | |
| let | title | body | //defalias:title/text() | |




© 2015 - 2025 Weber Informatics LLC | Privacy Policy