opendap/src/main/java/opendap/servlet/GetInfoHandler.java
private String buildGlobalAttributes(DAS das, ServerDDS dds) {

        boolean found = false;
        StringBuilder ga = new StringBuilder();

        ga.append("<h3>Dataset Information</h3>\n<table>\n");

        Enumeration edas = das.getNames();

        while (edas.hasMoreElements()) {
            String name = (String) edas.nextElement();

            if (!dasTools.nameInKillFile(name) &&
                    (dasTools.nameIsGlobal(name) || !dasTools.nameInDDS(name, dds))) {

                try {
                    AttributeTable attr = das.getAttributeTable(name);
		    if(attr != null) {
                    Enumeration e = attr.getNames();
                    while (e.hasMoreElements()) {
                        String aName = (String) e.nextElement();
                        Attribute a = attr.getAttribute(aName);

                        found = true;

                        ga.append("\n<tr><td align=right valign=top><b>");
                        ga.append(aName + "</b>:</td>\n");
                        ga.append("<td align=left>");

                        Enumeration es = a.getValues();
                        while (es.hasMoreElements()) {
                            String val = (String) es.nextElement();
                            ga.append(val);
                            ga.append("<br>");
                        }

                        ga.append("</td></tr>\n");

                    }
		  }
                } catch (NoSuchAttributeException nsae) {
                }

            }
        }
        ga.append("</table>\n<p>\n");
        if (!found)
            ga.setLength(0);
        return (ga.toString());
    }
private String buildGlobalAttributes(DAS das, ServerDDS dds) {

        boolean found = false;
        StringBuilder ga = new StringBuilder();

        ga.append("<h3>Dataset Information</h3>\n<table>\n");

        Enumeration edas = das.getNames();

        while (edas.hasMoreElements()) {
            String name = (String) edas.nextElement();

            if (!dasTools.nameInKillFile(name) &&
                    (dasTools.nameIsGlobal(name) || !dasTools.nameInDDS(name, dds))) {

                try {
                    AttributeTable attr = das.getAttributeTable(name);
		    if(attr != null) {
                    Enumeration e = attr.getNames();
                    while (e.hasMoreElements()) {
                        String aName = (String) e.nextElement();
                        Attribute a = attr.getAttribute(aName);

                        found = true;

                        ga.append("\n<tr><td align=right valign=top><b>");
                        ga.append(aName + "</b>:</td>\n");
                        ga.append("<td align=left>");

                        Enumeration es = a.getValues();
                        while (es.hasMoreElements()) {
                            String val = (String) es.nextElement();
                            ga.append(val);
                            ga.append("<br>");
                        }

                        ga.append("</td></tr>\n");

                    }
		  }
                } catch (NoSuchAttributeException nsae) {
                }

            }
        }
        ga.append("</table>\n<p>\n");
        if (!found)
            ga.setLength(0);
        return (ga.toString());
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -