@Test
public void shouldAllowImportXml() throws Exception {

    String inputData = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
                       + "<sv:node xmlns:jcr=\"http://www.jcp.org/jcr/1.0\" xmlns:nt=\"http://www.jcp.org/jcr/nt/1.0\" "
                       + "xmlns:sv=\"http://www.jcp.org/jcr/sv/1.0\" sv:name=\"workspaceTestNode\">"
                       + "<sv:property sv:name=\"jcr:primaryType\" sv:type=\"Name\">"
                       + "<sv:value>nt:unstructured</sv:value></sv:property></sv:node>";
    workspace.importXML("/", new ByteArrayInputStream(inputData.getBytes()), 0);
}