*/
public Configuration addDocument(org.w3c.dom.Document doc) throws MappingException {
LOG.debugf( "Mapping Document:\n%s", doc );
final Document document = xmlHelper.createDOMReader().read( doc );
add( new XmlDocumentImpl( document, "unknown", null ) );
return this;
}