Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » XML validation and markers
XML validation and markers [message #630601] Mon, 04 October 2010 07:08 Go to next message
Michal Borek is currently offline Michal Borek
Messages: 25
Registered: August 2010
Junior Member
Hello,

I've got problem, because xml file validation in StructuredTextEditor doesn't add markers so I can't see it in Problem View.

Could you please tell me how to bind xml validation errors and problems view?

Thank you in advance.


Re: XML validation and markers [message #630734 is a reply to message #630601] Mon, 04 October 2010 13:58 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2133
Registered: July 2009
Senior Member
The _editor_ never adds markers, they're created when the Validation Framework calls a Validator and creates markers based on the results returned to the framework. Even the as-you-type validation within the editor should only create the visible annotations you'll see in the left-hand/vertical ruler, and not actual markers.

---
Nitin Dahyabhai
Eclipse WTP, IBM
Re: XML validation and markers [message #631068 is a reply to message #630601] Wed, 06 October 2010 02:14 Go to previous message
Michal Borek is currently offline Michal Borek
Messages: 25
Registered: August 2010
Junior Member
Thank you Nitin,

I've misunderstood how it works.

Regards


Previous Topic:How to get line/col info for WSDLResource element
Next Topic:JSDT: how to add JSdoc comment before ASTNode
Goto Forum:
  


Current Time: Sat Apr 19 03:10:59 EDT 2014

Powered by FUDForum. Page generated in 0.02396 seconds