@Test
public void zapRCase() throws IOException, SAXException {

    String zapResult = transformer.zap(new StreamSource(new StringReader("<empty/>")), "xquery/r-q1.xq");
    assertTrue(XMLUnit.compareXML(result("xquery/r-q1.xml"), zapResult).similar());
}