Along these lines, I wanted to submit that when using a DOCTYPE of XHTML 1.0 Transitional, the ‘xmlns’ and ‘xml:lang’ attributes of the <html> tag are marked in red by the JSP editor. Here’s the DOCTYPE declaration:
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
and here’s’ the <html> opening tag:
<html xmlns=”http://www.w3.org/1999/xhtml” xml:lang=”en” lang=”en”>
This is against MyEclipse 3.8-beta2, running against Eclipse 3.0 (release), on WinXP SP2, with JDK1.4.2_03.