Degradation of carbohydrates during dilute sulfuric acid pretreatment can interfere with lignin measurements in solid residues.