InputSource is = getInputSource(nsURI, baseURI, schemaLocation);
if (is != null)
{
String publicId = is.getPublicId();
String systemId = is.getSystemId();
lsInput = new LSInputAdaptor(publicId, systemId, baseURI);
lsInput.setCharacterStream(is.getCharacterStream());
lsInput.setByteStream(is.getByteStream());
lsInput.setEncoding(is.getEncoding());
}
return lsInput;