for (Iterator it = nsr.parse().iterator(); it.hasNext();)
nsr.parse(); for (Iterator it = nsr.process().iterator(); it.hasNext();)
    public void DISABLEDtestReal() throws Exception    {        File currentDir = new File(System.getProperty("user.dir"));// TODO Util        File mappings = new File(currentDir.getParent() + File.separator                + "common" + File.separator + "resources" + File.separator                + "Mappings.ome.xml"); // FIXME circular deps.         log.error(mappings);        SaxReader nsr = new SaxReader(mappings);        for (Iterator it = nsr.parse().iterator(); it.hasNext();)        {            SemanticType st = (SemanticType) it.next();            VelocityHelper vh = new VelocityHelper();            vh.put("type", st);            // FileWriter fw = new            // FileWriter("/tmp/"+st.getId().replaceAll("[.]","_")+".hbm.xml");            StringWriter sw = new StringWriter();            vh.invoke("ome/dsl/mapping.vm", sw);            sw.flush();            sw.close();            // fw.flush();            // fw.close();        }    }