A highly efficient and convergent synthesis of a hexasaccharide, a dimer of the repeating unit of the antigen O2 polysaccharide of Stenotrophomonas maltophilia.