improved xml reading for DipyDoc : documentaton, error messages