mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 04:08:27 +08:00
error parsing xml, #1344
This commit is contained in:
parent
0093da34d0
commit
4f48a54681
|
@ -387,12 +387,21 @@ CLASS zcl_abapgit_persist_migrate IMPLEMENTATION.
|
||||||
|
|
||||||
METHOD update_global_settings.
|
METHOD update_global_settings.
|
||||||
|
|
||||||
DATA: lv_settings_xml TYPE string.
|
DATA: li_ixml TYPE REF TO if_ixml,
|
||||||
|
lv_settings_xml TYPE string,
|
||||||
|
li_ostream TYPE REF TO if_ixml_ostream,
|
||||||
|
li_renderer TYPE REF TO if_ixml_renderer,
|
||||||
|
li_streamfactory TYPE REF TO if_ixml_stream_factory.
|
||||||
|
|
||||||
" finally update global settings
|
" finally update global settings
|
||||||
" migrated elements are already removed from document
|
" migrated elements are already removed from document
|
||||||
|
|
||||||
lv_settings_xml = cl_ixml_80_20=>render_to_string( ii_document ).
|
li_ixml = cl_ixml=>create( ).
|
||||||
|
li_streamfactory = li_ixml->create_stream_factory( ).
|
||||||
|
li_ostream = li_streamfactory->create_ostream_cstring( lv_settings_xml ).
|
||||||
|
li_renderer = li_ixml->create_renderer( ostream = li_ostream
|
||||||
|
document = ii_document ).
|
||||||
|
li_renderer->render( ).
|
||||||
|
|
||||||
zcl_abapgit_persistence_db=>get_instance( )->update(
|
zcl_abapgit_persistence_db=>get_instance( )->update(
|
||||||
iv_type = zcl_abapgit_persistence_db=>c_type_settings
|
iv_type = zcl_abapgit_persistence_db=>c_type_settings
|
||||||
|
|
Loading…
Reference in New Issue
Block a user