gdal (I tried both version 2.2.4 and 2.3.1) is still not able to read Sentinel-2 L2A data produced by the latest version of sen2cor (2.5.5). The error message says:
ERROR 1: Cannot find =Level-2A_User_Product.General_Info.L2A_Product_Info
gdalinfo failed - unable to open ‘S2A_MSIL2A_20180827T101021_N0208_R022_T32TPT_20180827T152355.SAFE/MTD_MSIL2A.xml’.
Sorry, perhaps I do not have all the information and I do not know what products can be read or not by gdal.
I can only explain the SNAP side: we had to make a module update for supporting the new format L2A some months ago. As far as I know, the ‘official’ format produced by sen2cor changed and we had to adapt our reader to support it. I do not know how this has been managed by the gdal team. And perhaps, as @fabricebrito says, this is something that should be fixed by the sen2cor developers, perhaps there is an issue with the new product, I do not know. I am going to try to talk with them for clarifying this.
I experienced still the same issue with both gdal 2.3.2 or 2.1.0 that Sen2cor output level 2A data files cannot be opened by gdal programs. Sen2Cor is version 02.05.05