return new ValidityReport.Report(true, "dtRange",
"Property " + prop + " has a typed range but was given a non literal value " + value);
}
LiteralLabel ll = value.getLiteral();
for (Iterator<RDFDatatype> i = range.iterator(); i.hasNext(); ) {
RDFDatatype dt = i.next();
if (!dt.isValidLiteral(ll)) {
return new ValidityReport.Report(true, "dtRange",
"Property " + prop + " has a typed range " + dt +
"that is not compatible with " + value, triple);
}
}