anchor.diff:    ENDMETHOD.
   
   
  +  METHOD raise_exception_for.
  +    DATA lv_message TYPE string.
  +
  +    lv_message = |XML parser error: { ii_error->get_reason( ) }, | &&
  +                 |Line { ii_error->get_line( ) } | &&
  +                 |Col. { ii_error->get_column( ) }|.
  +
  +    IF mv_filename IS NOT INITIAL.
  +      lv_message = lv_message && | File { mv_filename }|.
  +    ENDIF.
  +
  +    zcx_abapgit_exception=>raise( lv_message ).
  +
  +  ENDMETHOD.
  +
  +
     METHOD to_xml.
   * will render to codepage UTF-16
   
  
positive.code:   PRIVATE SECTION.
  
      METHODS error
        IMPORTING ii_parser TYPE REF TO if_ixml_parser
        RAISING   zcx_abapgit_exception.
      METHODS display_version_mismatch
        RAISING zcx_abapgit_exception.
      METHODS show_parser_errors
        IMPORTING ii_parser TYPE REF TO if_ixml_parser.
      METHODS raise_exception_for
        IMPORTING
          ii_error TYPE REF TO if_ixml_parse_error
        RAISING
          zcx_abapgit_exception.
  
  ENDCLASS.
  
  
  
  CLASS zcl_abapgit_xml IMPLEMENTATION.
  
  
    METHOD constructor.
  
negative.code:   METHOD error.
  
      IF ii_parser->num_errors( ) <> 0.
        raise_exception_for( ii_parser->get_error( 0 ) ).
      ENDIF.
  
      IF mv_filename IS INITIAL.
  