writeStartElement(prefix, namespace, parentQName.getLocalPart(), xmlWriter); } else { writeStartElement(null, "http://services.mgt.identity.carbon.wso2.org", "claims", xmlWriter); writeStartElement(null, "http://services.mgt.identity.carbon.wso2.org", "claims", xmlWriter); if (localCaptcha==null){ writeStartElement(null, "http://services.mgt.identity.carbon.wso2.org", "captcha", xmlWriter); writeStartElement(null, namespace, "tenantDomain", xmlWriter);