if (src.charAt(0) == '/' || SourceUtil.indexOfSchemeColon(src) != -1) { return src; } else { String base = (String) context.getMapByAnchor("lm").get("base"); return base + (base.charAt(base.length()-1) == '/' ? "" : "/") + src;
if (src.charAt(0) != '/' && SourceUtil.indexOfSchemeColon(src) == -1) { String base = (String) context.getMapByAnchor(LocationMap.ANCHOR_NAME).get("base"); src =  base + (base.charAt(base.length()-1) == '/' ? "" : "/") + src;
    public String locate(Map om, InvokeContext context) throws Exception {                String src = m_src.resolve(context,om);                // absolute, don't prefix        if (src.charAt(0) == '/' || SourceUtil.indexOfSchemeColon(src) != -1) {            return src;        }        else {            String base = (String) context.getMapByAnchor("lm").get("base");            return base + (base.charAt(base.length()-1) == '/' ? "" : "/") + src;        }            }