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