MInor bug in S2_PDI_Level-1C_Tile_Metadata.xsd

I believe there is a small error in .snap/auxdata/Sen2Cor-2.4.0-Linux64/lib/python2.7/site-packages/sen2cor/cfg/S2-PDGS-TAS-DI-PSD-V14.2_Schema/S2_PDI_Level-1C_Tile_Metadata.xsd

It attempts to declare an xsd:complexType at the outer level, which creates a
“No matching global declaration available for the validation root” error reported as the input data is being validated

Following the suggestion in

I suggest the following fix - wrapping the complexType in an element - it makes the error go away

<xs:element name=“Level-1C_Tile_ID”>
<xs:element name=“General_Info” type=“dimap:A_GENERAL_INFO_L1C”/>
<xs:element name=“Geometric_Info” type=“dimap:A_GEOMETRIC_INFO_TILE”/>
<xs:element name=“Quality_Indicators_Info” type=“dimap:A_QUALITY_INDICATORS_INFO_TILE”/>

1 Like

I have tried your fix without success.
Would you mind making available a debugged S2_PDI_Level-1C_Tile_Metadata.xsd ?