try { parser = new CdlParser(loader, true); } catch (SAXException e) { throw new CdlRuntimeException("when creating parser", e); }
this.loader=loader;
    public ParseContext(ImportResolver importResolver, ResourceLoader loader) {        if (importResolver == null) {            importResolver = new ClasspathResolver();        }        this.importResolver = importResolver;        if (loader == null) {            loader = new ResourceLoader(this.getClass());        }        try {            parser = new CdlParser(loader, true);        } catch (SAXException e) {            throw new CdlRuntimeException("when creating parser", e);        }    }