return innerResolve(target);
final PropertyList resolved = innerResolve(target); boolean isProto=parseContext.hasPrototypeNamed(target.getQName()); if(isProto) { parseContext.prototypeUpdate(resolved); } return resolved;
    private PropertyList resolveToplevelTemplate(PropertyList target) throws CdlException {        QName name = target.getQName();        assert name != null;        stack.enter(name);        try {            return innerResolve(target);        } finally {            stack.exit(name);        }    }