Why glucose and other similar carbohydrates are oxidised fully by HIO4?
Glucose can react with $\ce{HIO4}$, which can be understood easily by looking at chair conformation of glucose.

Here is example of a diol, for more information looks at this answer https://chemistry.stackexchange.com/a/114836/67254