A process for the hydrolysis of xylose/arabinose-containing polymers, present in biomass material. The hydrolysis is performed by acid which is generated via salts present in the substrate, and whereby acid is constantly recycled, thereby strongly reducing salt discharge.