}
public static void setContent(XcapService xcapService, File xcapRoot, String xcapUri) throws Exception
{
XcapDao dao = xcapService.getDao();
XcapUri uri = new XcapUri(xcapUri, xcapService.getRootName());
if (dao instanceof FileXcapDao)
{
String doc = uri.getDocumentSelector().replace(":", "%3A");
File sourceFile = new File("target/test-classes/xcap-root", doc);