Exclude XML from Firefox test
It's a bit of a pity this regressed in Firefox Nightly.
import static org.junit.Assert.assertThat;
import static org.junit.Assume.assumeFalse;
import static org.openqa.selenium.testing.Driver.CHROME;
+import static org.openqa.selenium.testing.Driver.FIREFOX;
import static org.openqa.selenium.testing.Driver.IE;
import static org.openqa.selenium.testing.Driver.MARIONETTE;
import static org.openqa.selenium.testing.Driver.SAFARI;
import org.openqa.selenium.testing.Ignore;
import org.openqa.selenium.testing.JUnit4TestBase;
import org.openqa.selenium.testing.NeedsFreshDriver;
+import org.openqa.selenium.testing.NotYetImplemented;
import org.openqa.selenium.testing.SwitchToTopAfterTest;
import org.openqa.selenium.testing.TestUtilities;
@@ -444,6 +446,7 @@ public void testShouldBeAbleToFindElementByXPathWithNamespace() {
@Ignore(IE)
@Ignore(SAFARI)
@Ignore(CHROME)
+ @NotYetImplemented(value = FIREFOX, reason="The spec doesn't demand being able to parse XML")
public void testShouldBeAbleToFindElementByXPathInXmlDocument() {
driver.get(pages.simpleXmlDocument);
WebElement element = driver.findElement(By.xpath("//foo"));
