Context ctx = new Context(new URI(resource.getURI()), xmlns, resource.getModel(),schemaMap,this);
if (ctx.toXML(doc, resource)) return doc;
GlozeURL.logger.warn("drop: no schema mapping for resource: "+resource);
StmtIterator si = resource.listProperties();
if (!si.hasNext())
GlozeURL.logger.warn("because no properties, is gloze.uri correctly defined?");
else while (si.hasNext()) {
Property p = si.nextStatement().getPredicate();
// skip eg. RDF:type
if (p.getNameSpace().equals(RDF.getURI())) continue;
GlozeURL.logger.warn("because no matching property: "+p.getURI());
}
// try no-schema mapping