This content has been marked as final.
Show 2 replies
-
1. Re: Trying to resolve systemId as a non-file URL
spyhunter99 Apr 2, 2012 12:35 PM (in response to meselfe)does the client function? if so, just set the logger to error for the metadata resolver.
-
2. Re: Trying to resolve systemId as a non-file URL
meselfe Apr 3, 2012 3:16 AM (in response to spyhunter99)Looking at the code of the JBossEntityResolver Im still not sure what the warning is about but yeah im going to adjust the logging level.
URL url = new URL(systemId);
if (warnOnNonFileURLs && url.getProtocol().equalsIgnoreCase("file") == false)
{
log.warn("Trying to resolve systemId as a non-file URL: " + systemId);
}
InputStream ins = url.openStream();
if (ins != null)
{
inputSource = new InputSource(ins);
inputSource.setSystemId(systemId);
}
else
{
log.warn("Cannot load systemId as URL: " + systemId);
}