predicate.taint();
if (mustBeEmpty(ap, atts, cnt)) {
if (ap.nodeID != null) {
object = new ARPResource(arp, ap.nodeID);
checkXMLName(object, ap.nodeID);
objectIsBlank = true;
}
if (ap.resource != null) {
if (object != null) {
if (!badStateCode(nextStateCode))
// otherwise warning already given
warning(ERR_SYNTAX_ERROR,
"On a property element, only one of the attributes rdf:nodeID or rdf:resource is permitted.");
} else
object = URIReference.resolve(this, x, ap.resource);
}
if (object == null) {
object = new ARPResource(arp);
objectIsBlank = true;
}
if (taint.isTainted())
object.taint();
processPropertyAttributes(ap, atts, x);