anchor.diff:                    io_xml       TYPE REF TO lcl_xml
                     iv_normalize TYPE sap_bool DEFAULT abap_true
           RAISING   lcx_exception,
  +      add_xml_from_plugin "needed since type-check during dynamic call fails even if the object is compatible
  +        IMPORTING iv_extra     TYPE clike OPTIONAL
  +                  io_xml       TYPE REF TO object
  +                  iv_normalize TYPE sap_bool DEFAULT abap_true
  +        RAISING   lcx_exception,
         read_xml
           IMPORTING iv_extra      TYPE clike OPTIONAL
           RETURNING VALUE(ro_xml) TYPE REF TO lcl_xml
  
positive.code:         RAISING   lcx_exception.
  
  ENDCLASS.                    "lcl_objects_super DEFINITION
  
  CLASS lcl_objects_program DEFINITION INHERITING FROM lcl_objects_super.
  
  
negative.code: 
    ENDMETHOD.                    "filename
  
    METHOD add_xml_from_plugin.
  *    this method wraps add_xml as in the plugin. This is necessary as the wrapped
  *    xml-object in the plugin can only be typed to object.
  *    ABAP does not perform implicit type casts (also if compatible) in signatures,
  *    therefore this method's signature is typed ref to object
      DATA lo_xml TYPE REF TO lcl_xml.
      lo_xml ?= io_xml.
      me->add_xml(
        EXPORTING
          iv_extra      = iv_extra
          io_xml        = lo_xml
          iv_normalize  = iv_normalize
      ).
    ENDMETHOD.
  
  ENDCLASS.
  
  *----------------------------------------------------------------------*
  