@Test
public void testGetNamespace() {

    URI result;
    result = URIUtils.extractNamespace(uri1);
    System.out.println("Namespace for <" + uri1 + "> is " + result);
    assertEquals(URI.create(namespace2), result);
    assertTrue(URIUtils.isNamespaceKnown(result));
    result = URIUtils.extractNamespace(uri4);
    System.out.println("Namespace for <" + uri4 + "> is " + result);
    assertEquals(URI.create(namespace5), result);
    assertFalse(URIUtils.isNamespaceKnown(result));
}