AFAIK, xylose is the sugar form (reasonably safe) and xylitol is the alcohol form (and toxic to dogs).
This article on xylose in dog food may ease your mind. https://www.researchgate.net/publication/337186238_Beynen_AC_2019_Xylose_in_petfood
Hope your dog is ok.