Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » XML Validation question, possibly a bug
XML Validation question, possibly a bug [message #160874] Wed, 15 February 2006 14:35 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
>
>
Previous Topic:How to change Context Root ?
Next Topic:bea-WebService -How ??
Goto Forum:
  


Current Time: Sat Mar 15 20:24:14 EDT 2025

Powered by FUDForum. Page generated in 0.03075 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top