s_log.debug(m.getAST());
    public void test() {        MetadataRoot r = MetadataRoot.getMetadataRoot();        PDL m = new PDL();        try            {                m.loadResource("com/arsdigita/persistence/pdl/test1.pdl");                m.loadResource("com/arsdigita/persistence/pdl/test2.pdl");            }        catch(PDLException p)            {                fail("Error loading pdl files. Should not fail. " + p.getMessage());            }        s_log.debug(m.getAST());        try            {                m.generateMetadata(r);                //s_log.debug(r);            } catch(Exception me)                {                    fail("Error generating meta data. Should not fail. " + me.getMessage());                }        try            {                PDL bad = new PDL();                bad.loadResource("com/arsdigita/persistence/pdl/bad1.pdl");                fail("PDL Failed to throw an exception on bad1.pdl!");            }        catch(PDLException p)            {                s_log.debug(p);            }    }