title: Uploading an empty file to S3 with Java
body: <p>Getting error when I try to stream empty data into S3.<br>
  Below is the error:</p>
  
  <blockquote>
    <p>java.lang.RuntimeException:<br>
    java.lang.RuntimeException:<br>
    java.lang.RuntimeException:<br>
    shaded.com.amazonaws.services.s3.model.AmazonS3Exception:<br>
    The XML you provided was not well-formed or did not validate against our published schema 
    (Service: Amazon S3; Status Code: 400; Error Code: MalformedXML; Request ID: BC194D061F65DC3B), S3 Extended Request ID: RjC6LY05Gj93iQTWAdjL/JcQBrl/NzMt749DOwpVsTJ2YN63A0EQmFWaBXxwHzBo+/a8A3MoP70=</p>
  </blockquote>
  
  <p>Is there a way to create an empty file in S3 via a Java SDK output stream?</p>