Required item type of first argument of year-from-date() is xs:date. Invalid date "1994" (Too short)