errors in xml files almost never have the actual line/column where they are located at assigned.
When having large xml files this can give you a hard time searching. :/
But maybe it's a 'bug' with the syntax checker you are using for XML so not your fault.