This resolves URIs for entities locally, if needed.
// Handle references to online version of copyright.xml
if (systemID.equals(
"http://www.newInstance.com/javaxml2/copyright.xml")) {
return new InputSource(
"file:///c:/javaxml2/ch04/xml/copyright.xml");
}
// In the default case, return null
return null;