}
if (isEmptyElt) {
NodeElement subject = (NodeElement) peekStack(1);
Literal lit = createLiteral("", null, RDF.XML_LITERAL.toString());
reportStatement(subject.getResource(), propURI, lit);
handleReification(lit);
} else {
// The next string is an rdf:XMLLiteral
predicate.setDatatype(RDF.XML_LITERAL.toString());
saxFilter.setParseLiteralMode();
}
}
} else if (isEmptyElt) {
// empty element without an rdf:parseType attribute
if (0 == atts.size() || 1 == atts.size() && atts.getAtt(RDF.BASE_URI.toString(), "datatype") != null) {
// element had no attributes, or only the optional rdf:ID
NodeElement subject = (NodeElement) peekStack(1);
Literal lit = createLiteral("", xmlLang, null);
reportStatement(subject.getResource(), propURI, lit);
handleReification(lit);
} else {
// Create resource for the statement's object.
SubjectNode resourceRes = getPropertyResource(atts);