use of com.github.bordertech.wcomponents.WDefinitionList in project wcomponents by BorderTech.
the class WDefinitionListRenderer_Test method testXssEscaping.
@Test
public void testXssEscaping() throws IOException, SAXException, XpathException {
WDefinitionList list = new WDefinitionList();
list.addTerm(getMaliciousAttribute("ui:term"), new WText("dummy"));
assertSafeContent(list);
}
Aggregations