Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Why is eclipse complaining about my html?(html attribute problem)
Why is eclipse complaining about my html? [message #693095] Tue, 05 July 2011 19:13 Go to next message
Ron A is currently offline Ron AFriend
Messages: 12
Registered: December 2010
Junior Member

I ran the HTML thru a validator, and it said everything was fine. So why is eclipse complaining about these? I get HTML warnings ... and if I change to a jsp file they become errors.

Undefined attribute xml:lang
Missing end tag for http

Here is the offending line:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">


I also get:
Undefined attribute name (gmail.com)
Undefined attribute name(mailto:someone)

Here is the offending line:
<a href=\"mailto:someone@gmail.com\">Email Me </a>

Please help ...

BTW - this html file was generated by an uber-simple web design program. The program allows you to embed raw html in the code - my plan is to do the basic work in the web design program and then embed any special html or jsp I need.
Re: Why is eclipse complaining about my html? [message #693146 is a reply to message #693095] Tue, 05 July 2011 22:25 Go to previous messageGo to next message
Ron A is currently offline Ron AFriend
Messages: 12
Registered: December 2010
Junior Member
Ok - I realized that the second error was a cut and paste error ... there were backslashes before the quote marks.

However, I am still stumped on the first error. Someone help, please.
Re: Why is eclipse complaining about my html? [message #693172 is a reply to message #693146] Wed, 06 July 2011 00:11 Go to previous message
Ron A is currently offline Ron AFriend
Messages: 12
Registered: December 2010
Junior Member
Ok - it's been resolved.

1) the stupid cut and paste error on 'mail'
2) the design tool is putting xhtml tags into the header but marking the file as straight html.
3) the design tool is putting angle brackets into comments, and eclipse and Tomcat are looking into the comments and getting confused by it.

Solutions:
1) fix the stupid cut and paste error
2 and 3) sed script, until the design tool fixes their issue.

Thanks
Previous Topic:Library(container) not getting reflected in Java build path page
Next Topic:Scope of PRE_BUILD Event
Goto Forum:
  


Current Time: Tue Mar 19 07:02:44 GMT 2024

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

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

Back to the top