Fixed RDF data structure, writer document fully supports xml and rdfxml data structure in custom documents.