The sources for XMF version 2