code: protected String getUniqueTargetNamespace(String targetNamespacePrefix,
              final String baseName) throws IOException {
  
          if (targetNamespacePrefix == null
                  || targetNamespacePrefix.length() == 0) {
              return null;
          }
  
          if (baseName == null || baseName.length() == 0) {
              throw new IOException("No target basename was provided");
          }
  
          if (targetNamespacePrefix.charAt(targetNamespacePrefix.length() - 1) == '/') {
              return targetNamespacePrefix + baseName;
          } else {
              return targetNamespacePrefix + '/' + baseName;
          }
      }
docs: TargetNamespace, if it is not null, is completed with the baseName.
  
  @param targetNamespacePrefix the target namespace prefix
  @param baseName A name, derived from the COBOL file name, that can be
  used to identify generated artifacts
  @return the targetNamespace for the xml schema
  @throws IOException if unable to create a namespace