[misc] Add some documentation
XWIKI-10079: XWikiDocument#fromXML fail to parse history of a document saved before the xclasses it depends on