Here in cbc:EndpointId, where is the space? If you doubt about a space can you use Trim to remove the unwanted spaces. Also sharing a previous post which discussed about the data fetching from xml.
The only space I can find the space within the element name itself (cbc:EndpointID SPACE schemeID=“0192”). I have tested with trimming the element name, but as you would expect it has to be consistent.
I have looked through the link you attached but it did not help me solve the issue.
Thank you, @Rahul_Unnikrishnan.
By reading the last thread you posted I understood that you do not need to specify the schemeID within the namespace. Only refering to EndpointID is sufficient.
For anyone that may experience this issue the solution is to exclude the scheme ID within the element name: