this is not equivalent to the XML format. There is no ``on-invalid="null"`` (which cannot be set in YAML btw contrary to ``on-invalid="ignore"``)