@Test
public void readMapElementElementStringPathBuilderXMLResources() throws Exception {

	PathBuilder pathBuilder = new SimplePathBuilder();
	XMLResources res = new XMLResources(pathBuilder);
	MapElement elt = XMLGISElementUtil.readMapElement(this.document.getDocumentElement(), "point", pathBuilder, res); //$NON-NLS-1$
	assertNotNull(elt);
	MapPoint pts = (MapPoint) elt;
	assertEpsilonEquals(3., pts.getX());
	assertEpsilonEquals(4., pts.getY());
	assertEquals("name1", elt.getName()); //$NON-NLS-1$
	assertEquals("Text", elt.getAttribute("attr1", (String) null)); //$NON-NLS-1$ //$NON-NLS-2$
}