legacy/src/main/java/thredds/catalog/query/DqcFactory.java
private static void doOne(DqcFactory fac, String url) {
    System.out.println("***read " + url);
    try {
      QueryCapability dqc = fac.readXML(url);
      System.out.println(" dqc hasFatalError= " + dqc.hasFatalError());
      System.out.println(" dqc messages= \n" + dqc.getErrorMessages());
      fac.writeXML(dqc, System.out);
    } catch (Exception e) {
      e.printStackTrace();
    }

  }
private static void doOne(DqcFactory fac, String url) {
    System.out.println("***read " + url);
    try {
      QueryCapability dqc = fac.readXML(url);
      System.out.println(" dqc hasFatalError= " + dqc.hasFatalError());
      System.out.println(" dqc messages= \n" + dqc.getErrorMessages());
      fac.writeXML(dqc, System.out);
    } catch (Exception e) {
      e.printStackTrace();
    }

  }
private static void doOne ( DqcFactory fac , String url ) { System . out . println ( "***read " + url ) ; try { QueryCapability dqc = fac . readXML ( url ) ; System . out . println ( " dqc hasFatalError= " + dqc . hasFatalError ( ) ) ; System . out . println ( " dqc messages= \n" + dqc . getErrorMessages ( ) ) ; fac . writeXML ( dqc , System . out ) ; } catch ( Exception e ) { e . printStackTrace ( ) ; } }
testing
testing