Bug 241276 - Provide template for new xhtml 1.1 file
Summary: Provide template for new xhtml 1.1 file
Status: NEW
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.html (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: Future   Edit
Assignee: Nick Sandonato CLA
QA Contact: Nick Sandonato CLA
URL:
Whiteboard: contributed
Keywords:
Depends on: 241358 322616
Blocks:
  Show dependency tree
 
Reported: 2008-07-17 11:51 EDT by Hendrik Maryns CLA
Modified: 2013-06-19 11:13 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hendrik Maryns CLA 2008-07-17 11:51:23 EDT
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:
Comment 1 Hendrik Maryns CLA 2008-07-18 04:36:20 EDT
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.
Comment 2 Nitin Dahyabhai CLA 2009-04-05 20:27:33 EDT
Contingent upon a review to make sure we actually support the indicated XHTML revision--my memory's a bit foggy on that.
Comment 3 Jesse Viviano CLA 2010-08-12 23:13:46 EDT
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.