Fix build

This commit is contained in:
James Agnew 2015-08-24 18:46:07 -04:00
parent 2733812535
commit 1577859340
1 changed files with 1 additions and 1 deletions

View File

@ -282,7 +282,7 @@ public abstract class BaseParser implements IParser {
}
return reference;
} else {
if (!ref.hasResourceType() && theRef.getResource() != null) {
if (!ref.hasResourceType() && !ref.isLocal() && theRef.getResource() != null) {
ref = ref.withResourceType(myContext.getResourceDefinition(theRef.getResource()).getName());
}
if (isNotBlank(myServerBaseUrl) && StringUtils.equals(myServerBaseUrl, ref.getBaseUrl())) {