Further investigation and using this tool https://www.freeformatter.com/xml-validator-xsd.html gave me this:
Cvc-complex-type.2.4.b: The Content Of Element 'sourceLevelAccessControl' Is Not Complete. One Of '{permission}' Is Expected., Line '31304', Column '34'.
Cvc-complex-type.2.4.b: The Content Of Element 'sourceLevelAccessControl' Is Not Complete. One Of '{permission}' Is Expected., Line '31985', Column '34'.
Cvc-complex-type.2.4.b: The Content Of Element 'sourceLevelAccessControl' Is Not Complete. One Of '{permission}' Is Expected., Line '32573', Column '34'.
Cvc-complex-type.2.4.b: The Content Of Element 'sourceLevelAccessControl' Is Not Complete. One Of '{permission}' Is Expected., Line '33118', Column '34'.
If i see in the exported xml i see that in the lines following to the ones pointed by those errors is the tag
<sourceLevelAccessControl/>
.
For example: first error is line 31304 column 34. The line 31304 end in column 34, and in line 31305 there is a <sourceLevelAccessControl/>
.
If i remove the lines the lines 31305, 31986, 32574 and 3318. Meaning delete any <sourceLevelAccessControl/>
i get in the validator url
The XML document is valid.
And the installation is successful
Looks to me that profile.xsd or exporter functions need to be corrected. Or im doing something wrong?