The role of valence quarks in proton fragmentation