parsing entities.xml in EntityManager.java