xml writer and sha1