The XDS example document has the wrong ID for the binary resource.
Transactions replace the reference IDs with the resource ID not the resource ID and version number.
Create a questionaire before search for one.
Fix the XSD validation errors.