anchor.diff:                                  onchange="fillAdminValue();" <%if (isUpdating) { %>
                                   readonly="true" <% }%> type="text" name="domain"
                                   id="domain" style="width:400px"
  -                                value="<%=domainName%>"/>
  +                                value="<%=Encode.forHtml(domainName)%>"/>
                           </td>
                       </tr>
                       <%if (!isUpdating) { %>
  
positive.code: ~ specific language governing permissions and limitations
  ~ under the License.
  -->
  <%@page import="org.wso2.carbon.user.mgt.ui.UserAdminClient" %>
  <%@ page import="org.wso2.carbon.stratos.common.util.CommonUtil" %>
  <%@ page import="org.wso2.carbon.tenant.mgt.stub.beans.xsd.TenantInfoBean" %>
  
negative.code:     String usagePlan = "";
      boolean isActive = false;
      int tenantId = -1;
      String error1 = "Tenant with the domain : " + Encode.forHtml(domainName) + " doesn't exist.";
      boolean isUpdating = false;
      boolean isPublicCloud = CommonUtil.isPublicCloudSetup();
      String isCloudDeployment =  ServerConfiguration.getInstance().getFirstProperty("IsCloudDeployment");
  