@Override
public IRI getBaseUri()
throws IRISyntaxException {
if (Type.XHTML.equals(type)) {
Element el = getValueElement();
if (el != null) {
if (el.getAttributeValue(BASE) != null) {
if (getAttributeValue(BASE) != null)
return super.getBaseUri().resolve(
el.getAttributeValue(BASE));
else
return _getUriValue(el.getAttributeValue(BASE));
}
}
}
return super.getBaseUri();
}