docs: protected void addDefault(
          CmsXmlContentDefinition contentDefinition,
          String elementName,
          String defaultValue,
          String resolveMacrosValue)
      throws CmsXmlException {
  
          if (contentDefinition.getSchemaType(elementName) == null) {
              throw new CmsXmlException(
                  org.opencms.xml.types.Messages.get().container(
                      Messages.ERR_XMLCONTENT_INVALID_ELEM_DEFAULT_1,
                      elementName));
          }
          // store mappings as xpath to allow better control about what is mapped
          String xpath = CmsXmlUtils.createXpath(elementName, 1);
          m_defaultValues.put(xpath, defaultValue);
  
          // macros are resolved by default
          if ((resolveMacrosValue != null) && !Boolean.parseBoolean(resolveMacrosValue)) {
              m_nonMacroResolvableDefaults.add(xpath);
          }
      }