I don't know which is correct. I looked at the code, and I don't see how the end line number could get there for XML which is why I asked you to try to construct some (bad) XML in a test case to see what the code does.
If it's always 0, then we could just remove the function rather than always returning the same as the start line.
I don't know which is correct. I looked at the code, and I don't see how the end line number could get there for XML which is why I asked you to try to construct some (bad) XML in a test case to see what the code does.
If it's always 0, then we could just remove the function rather than always returning the same as the start line.