Resource rez;
if (base != null) rez = model.createResource(base.toString());
else rez = model.createResource();
element e = ctx.getElement(element.createURI(d,ctx));
if (e!=null) return e.toRDF(rez, d, null,ctx);
logger.warn("using no schema mapping for document element: "+d.getLocalName());
// use default no-schema mapping
XMLBean.noSchemaToRDF(d,base,ctx);
return true;