Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsEclipse flags ALL XML tags as invalid.
https://www.eclipse.org/forums/index.php/mv/msg/172984/550443/#msg_550443
I have had this problem for a long while, but have a few minutes to actually try and fix it and I can't.
If I create the following file called test.jsp
<hello>
<world>Blah</world>
</hello>
Then Eclipse highlights "<hello>" and "<world>" with a warning, "Unknown Tag"
It also highlights </world> and </hello> red with the descriptive "Error" and no other information.
I have played about with JSP validation settings and XML validation settings, but nothing seems to say, "Eclipse, leave it alone, it's custom XML or an XML format you don't know about, just let me know about obvious XML structure errors, ignore the tags!"
This is Eclipse 3.4.2 but I have had the problem since Eclipse 3.2 or 3.3
The errors exist no matter what type of XML I am using.
I generally just ignore eclipse, but I'd still like to fix it someday
Paul]]>Paul 2010-07-30T11:55:25-00:00Re: Eclipse flags ALL XML tags as invalid.
https://www.eclipse.org/forums/index.php/mv/msg/172984/550455/#msg_550455
obvious (and you're using a recent enough version of eclipse).
The active editor class:
StructuredTextEditor
The contributing plug-in:
org.eclipse.jst.jsp.ui (1.1.312.v200901290909)
The active editor identifier:
org.eclipse.jst.jsp.core.jspsource.source
The active menu contribution identifiers:
org.eclipse.jst.jsp.core.jspsource.source.EditorContext
org.eclipse.jst.jsp.core.jspsource.source.RulerContext
#OverviewRulerContext
org.eclipse.wst.sse.ui.StructuredTextEditor.EditorContext
org.eclipse.jst.jsp.core.jspsource.source.source.EditorConte xt
org.eclipse.wst.sse.ui.StructuredTextEditor.RulerContext
org.eclipse.jst.jsp.core.jspsource.source.source.RulerContex t
Thanks
Paul]]>Paul 2010-07-30T13:10:23-00:00Re: Eclipse flags ALL XML tags as invalid.
https://www.eclipse.org/forums/index.php/mv/msg/172984/550468/#msg_550468
HTML, you should 1) ask in eclipse.webtools or 2) open a bug against
Webtools/JSP source editing.