in cxf-xjc-plugin/src/main/java/org/apache/cxf/maven_plugin/XSDToJavaRunner.java [80:95]
private static File getFile(String s, XJCErrorListener l) throws Exception {
File f = new File(s);
if (f.exists()) {
return f;
}
try {
URI uri = new URI(s);
f = new File(uri);
return f;
} catch (Throwable t) {
if (l != null) {
l.debug("Could not find a file for " + s);
}
return null;
}
}