|
|
Re: Can the Validation Framework return the line number? [message #419205 is a reply to message #419179] |
Mon, 12 May 2008 16:22 |
Eclipse User |
|
|
|
Originally posted by: cdamus.zeligsoft.com
Hi, Ed, AJ,
In an IDE with graphical or otherwise structured editors, line numbers
aren't particularly interesting. Moreover, they are only relevant for
file storage. Repository storage wouldn't have such a notion.
Of course, when using XML files, this might be of use to other XML-based
applications ...
cW
Ed Merks wrote:
> AJ,
>
> Someone else was asking this earlier in the week. There is a URI
> indicating the actual object with the problem, but EMF doesn't have
> support for mapping an object to a line number in its
> serialization:196618 <https://bugs.eclipse.org/bugs/show_bug.cgi?id=196618>
>
> AJ wrote:
>> Hi there,
>>
>> The EMF Validation Framework (IBatchValidator) produces IStatus
>> object, however, can I determine the line in the XMI file where the
>> element violating the constraint is located?
>>
>> Thanks you in advance!
>>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03004 seconds