code: private static String encodeBlob(String encodingType, String blobName) {
          if (encodingType != null && encodingType.equals("url")) {
              return urlEscaper.escape(blobName);
          } else {
              return blobName;
          }
      }
docs: which XML 1.0 cannot represent.