improved schema and fixed bug on doc_manager
improved schema and fixed bug on doc_manager
update schema.xml to one that actually works