@Test
public void testReadElement() throws Exception {

	String location = "http://dev.holodeck-b2b.com/notreal/schemafile";
	String ns = "http://dev.holodeck-b2b.com/notreal/schema";
	String version = "2.0";
	
    SchemaReference schema = SchemaElement.readElement(createXML(
    		"<eb3:Schema xmlns:eb3=\"http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/core/200704/\""
    		+ " location=\"" + location + "\"" 
    		+ " namespace=\"" + ns + "\"" 
    		+ " version=\"" + version + "\""
    		+ "/>"));
    
    assertNotNull(schema);
    assertEquals(location, schema.getLocation());
    assertEquals(ns, schema.getNamespace());
    assertEquals(version, schema.getVersion());
}