I am developing some tool using eclipse emf modeling and I would like to know how to get the xml line number of an parsed object. I need this in order to create file problem markers during data validation. I read some topics about this but I couldn't find the information I was looking for. I was thinking that maybe somebody can help me with some hints regarding how to do that.
Thanks.