String pref = messages[i].getName().substring(0, 3);
String xsd = file2String(new File("C:/formats/fin."+pref+".2008.xsd"));
//if (!xsd.equals("C:/formats/fin.700.2008.xsd")) continue;
System.out.println(messages[i]);
KXSDReader reader = new KXSDReader();
Struct root=null;
try {
root = reader.readSchema(xsd);
} catch (Throwable e1) {
e1.printStackTrace();
System.out.println("##########");
continue;
}