{
SearchDocument document = set._tempGetSearchDocumetn(source.substring(fileProtocol.length()));
if (document != null)
{
URIResolver uriResolver = URIResolverPlugin.createResolver();
Entry[] entries = document.getEntries(IXMLSearchConstants.REF, null, 0);
String[] resolveEntry = new String[entries.length];
for (int j = 0; j < entries.length; j++)
{
Entry entry = entries[j];
if (entry instanceof FileReferenceEntry)
{
FileReferenceEntry fileReferenceEntry = (FileReferenceEntry)entry;
// TODO.. record an utilize the public id from the fileReferenceEntry
//
if (fileReferenceEntry.getRelativeFilePath() != null)
{
String resolvedURI = uriResolver.resolve(source, null, fileReferenceEntry.getRelativeFilePath());
resolveEntry[j] = resolvedURI;
if (resolvedURI.equals(target))
{
return true;
}