parsing dates + test input xml