@Override
	public void restoreXml(XmlPullParser parser, LSHVectorFactory vectorFactory)
			throws LSHException {
		XmlElement el = parser.start(name);
		changeSuccessful = SpecXmlUtils.decodeBoolean(el.getAttribute("success"));
		errorMessage = parser.end().getText();
		if (errorMessage != null && errorMessage.length() == 0) {
			errorMessage = null;
		}
	}
Response of server indicating whether a password change request ({@link PasswordChange}) succeeded
Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/query/protocol/ResponsePassword.java