void () { ExternalResourceManagerExImpl.registerResourceTemporarily("http://dl.google.com/gwt/DTD/xhtml.ent", getTestDataPath() + "xhtml.ent", myFixture.getTestRootDisposable()); ExternalResourceManagerExImpl.registerResourceTemporarily("urn:ui:com.google.gwt.uibinder", getTestDataPath() + "UiBinder.xsd", myFixture.getTestRootDisposable()); myFixture.enableInspections(CheckXmlFileWithXercesValidatorInspection.class); myFixture.configureByFile(getTestName(false) + ".ui.xml"); myFixture.checkHighlighting(); myFixture.type('\b'); // edit content, document has to be valid after that myFixture.checkHighlighting(); }