Details
Description
The method "createInputSource" in SaxUtils leaks the input stream in
InputSource inputSource = new InputSource(resource.getInputStream());
While this might be considered a small nuisance, it becomes a PITA on Windows, because the "SimpleXsdSchema" uses this method and therefore locks the "xsd" file in the file system, which is a pain when running "mvn clean install" because clean fails because the XSD/WSDL file is locked.
There are basically 4 non-test usages of this method that need to be reworked to avoid leaking file handles.