Community
Participate
Working Groups
Build ID: 20080604011433 Steps To Reproduce: There are templates for xhtml 1.0 in three variants, but not for 1.1. Found under Window → Preferences → Web → HTML files → Editor → Templates More information:
I’d propose the following: <?xml version="1.0" encoding="${encoding}" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="${language}"> <head> <meta http-equiv="Content-Type" content="text/html; charset=${encoding}" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <link href="${stylesheet}" type="text/css" rel="stylesheet" /> <title>${title}</title> </head> <body> ${cursor} </body> </html> Note that this depends on bug 241358, since the self-made variables like ${title} do not work now.
Contingent upon a review to make sure we actually support the indicated XHTML revision--my memory's a bit foggy on that.
Eclipse cannot support XHTML 1.1 properly until ruby annotation is supported. I have filed bug 322616 to have ruby annotation support added. Therefore, this bug depends on bug 322616.