Use xs:base64Binary instead of xs:string in the schema
Thanks to Dave Cridland, Waqas Hussain, Glenn Maynard, and Remko Tronçon for their input.
+Thanks to Dave Cridland, Waqas Hussain, Glenn Maynard, Remko + Tronçon, and Christian Schudt for their input.