Fixed XML bug in s3p.