dap4/d4core/src/main/java/dap4/core/dmr/parser/DOM4Parser.java
DapAttribute
    makeAttribute(DapSort sort, String name, DapType basetype, List<String> nslist)
            throws ParseException
    {
        DapAttribute attr = factory.newAttribute(name, basetype);
        if(sort == DapSort.ATTRIBUTE) {
            attr.setBaseType(basetype);
        }
        attr.setNamespaceList(nslist);
        return attr;
    }
DapAttribute
    makeAttribute(DapSort sort, String name, DapType basetype, List<String> nslist)
            throws ParseException
    {
        DapAttribute attr = factory.newAttribute(name, basetype);
        if(sort == DapSort.ATTRIBUTE) {
            attr.setBaseType(basetype);
        }
        attr.setNamespaceList(nslist);
        return attr;
    }
Attribute construction