if (isScalarValue(property)) {
        if (!isValidElementName(key)) {
          throw new Error(`"${key}" is not a valid name for attribute value`)
        }