depended on the order of the elements(date occuring before author). I changed that and now the xml is parsed without regard to order.