XML Validation question, possibly a bug [message #160874] |
Wed, 15 February 2006 14:35  |
Eclipse User |
|
|
|
Say I have this xml file (example only)
<?xml version="1.0" encoding="UTF-8"?>
<outer>
<inner>
</outer>
and Validate XML file using the right click menu on the file in the Package
Explorer, I get and error "The element type "inner" must be terminated by
the matching end-tag "</inner>"." Thats correct, so I add the </inner> and
save.
Tha validation marker goes disabled, but the error marker on the right is
still present, and the file has a marker in the Package explorer showing
invalid. So I close and reopen the file, the validation marker is still
present nad will be until i revalidate using the menu.
Is it supposed to work that way, or should the file become valid once I save
it valid...
If it is a bug, I will write it up, although it may be a duplicate, but have
not found one directly related yet.
Thanks
Brian
|
|
|
Re: XML Validation question, possibly a bug [message #161101 is a reply to message #160874] |
Fri, 17 February 2006 17:38  |
Eclipse User |
|
|
|
Originally posted by: amywu.us.DELETETHIS.ibm.com
Sounds like https://bugs.eclipse.org/bugs/show_bug.cgi?id=126022
Brian Jakubik wrote:
> Say I have this xml file (example only)
> <?xml version="1.0" encoding="UTF-8"?>
> <outer>
> <inner>
> </outer>
> and Validate XML file using the right click menu on the file in the Package
> Explorer, I get and error "The element type "inner" must be terminated by
> the matching end-tag "</inner>"." Thats correct, so I add the </inner> and
> save.
>
> Tha validation marker goes disabled, but the error marker on the right is
> still present, and the file has a marker in the Package explorer showing
> invalid. So I close and reopen the file, the validation marker is still
> present nad will be until i revalidate using the menu.
>
> Is it supposed to work that way, or should the file become valid once I save
> it valid...
>
> If it is a bug, I will write it up, although it may be a duplicate, but have
> not found one directly related yet.
>
> Thanks
> Brian
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.09271 seconds