When interpreting things like:
<boundedBy>
<Envelope srsName="urn:x-ogc:def:crs:EPSG:6.12:4326">
<lowerCorner>20.81565355 -17.15902005</lowerCorner>
<upperCorner>21.05228926 -16.90573361</upperCorner>
</Envelope>
</boundedBy>
and
<rectifiedGridDomain>
<RectifiedGrid dimension="2">
<limits>
<GridEnvelope>
<low>0 0</low>
<high>5631 5224</high>
</GridEnvelope>
</limits>
<axisName>x</axisName>
<axisName>y</axisName>
<origin>
<Point>
<pos>21.0522666172 -17.1589975596</pos>
</Point>
</origin>
<offsetVector>0.000000000000 0.000044972733</offsetVector>
<offsetVector>-0.000045289132 0.000000000000</offsetVector>
</RectifiedGrid>
</rectifiedGridDomain>
it is presumed that we must honour the EPSG preferred axis ordering for the geographic coordinate system (lat long for EPSG:4326).
The above should have an origin near 17west, 21north.