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