mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 20:32:26 +08:00

* Leading spaces are lost when pulling bug #2571 Reason: during the pull (deserialization), the method `PARSE` of `ZCL_ABAPGIT_XML` does a `li_parser->set_normalizing( iv_normalize )` whose parameter has the default value "true", which strips leading and trailing spaces. Solution: use `li_parser->add_strip_space_element( )` instead of using the normalization, which seems to work in elementary objects (clas, devc, doma, dtel, enho, enqu, fugr, intf, prog, scp1, tabl, tran, ttyp), but I fear of side effects throughout all abapGit features. * #2571 zcl_abapgit_xml iv_normalize removed+AU - Removal of useless parameter IV_NORMALIZE of method PARSE - Abap Unit test added for testing the method PARSE for an XML valuecontaining leading and trailing spaces * renaming attribute lo_xml to mo_xml
18 lines
503 B
XML
18 lines
503 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<abapGit version="v1.0.0" serializer="LCL_OBJECT_CLAS" serializer_version="v1.0.0">
|
|
<asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">
|
|
<asx:values>
|
|
<VSEOCLASS>
|
|
<CLSNAME>ZCL_ABAPGIT_XML</CLSNAME>
|
|
<LANGU>E</LANGU>
|
|
<DESCRIPT>XML</DESCRIPT>
|
|
<STATE>1</STATE>
|
|
<CLSCCINCL>X</CLSCCINCL>
|
|
<FIXPT>X</FIXPT>
|
|
<UNICODE>X</UNICODE>
|
|
<WITH_UNIT_TESTS>X</WITH_UNIT_TESTS>
|
|
</VSEOCLASS>
|
|
</asx:values>
|
|
</asx:abap>
|
|
</abapGit>
|