System.out.println("XML Parser could not handle file " + xmlfilename);
System.err.println("XML Parser could not handle file " + xmlfilename);
  private void parseFile(String xmlfilename) {      Document doc;      InputStream is;      Parser parser;      try {        doc = getCluster().getConfigFinder().parseXMLConfigFile(xmlfilename);	if (doc == null) {	  System.out.println("XML Parser could not handle file " + xmlfilename);	  return ;	}      } catch (Exception e) {	e.printStackTrace();	return;      }      Element root = doc.getDocumentElement();      Hashtable transferableSubscriptions = new Hashtable(13);      if( root.getNodeName().equals( "Propagations" )){	NodeList nlist = root.getChildNodes();	int nlength = nlist.getLength();	for (int i=0; i<nlength; i++) {	  Node propNode = nlist.item(i);	  if (propNode.getNodeType() == Node.ELEMENT_NODE) {	    if (propNode.getNodeName().equals("TransferablePropagation")) {	      String className  = 		propNode.getAttributes().getNamedItem("class").getNodeValue();              TransferablePredicate tp = null;              try {                Class cl = theLDM.getLDMClassLoader().loadClass(className);                if (OplanContributor.class.isAssignableFrom(cl)) {                  System.err.println("Warning: "+xmlfilename+                                     " specifies propagation of OplanContributor \""+                                     className+"\":  Will ignore.");                  // leave tp alone to bail out.                } else {                  tp = new TransferablePredicate(cl);                }              } catch (Exception e) {                e.printStackTrace();              }              if (tp != null) {                parseProp(propNode);                String caps[] = new String[roles.size()];                caps = (String [])roles.toArray(caps);                DestinationPredicate dp =                   new DestinationPredicate(caps,                                            getCluster().getClusterIdentifier());                IncrementalSubscription ts                  = (IncrementalSubscription)transferableSubscriptions.get(tp);                if (ts == null){                  ts = (IncrementalSubscription)subscribe(tp);                  transferableSubscriptions.put(tp, ts);                }                TransferableSubscriptions fh = new TransferableSubscriptions(ts, dp);                subscriptionCollection.add(fh);              }	    }	  }	}      }  }