HTML 5 tags like 'header', 'nav', 'article' marked as errors, HTML 5 DOCTYPE doesn't work
Submitted by Tuesday, 8 February, 2011 - 15:38
on
Hi.
I am currently playing arround with HTML 5 and CSS 3, checking out their new features, and, of course, using jEdit for this.
When I use the new DOCTYPE definition of HTML 5
<!DOCTYPE html>
jEdit marks almost everything as bad XML/HTML.
If I use the old style
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
the old tags are recognised, but the new ones introduced with HTML 5 still get marked as errors, e.g. the ones mentioned in the subject line.
How can I setup jEdit in a way that it correctly accepts all HTML 5 tags and understands that new DOCTYPE definition, too?
I am currently using these jEdit plugins:
Accents
Beauty
Common Controls
Console
ErrorList
FTP
GnuRegexp
JDiff Plugin
Jakarta Commons
Jython Interpreter
Project Viewer
PythonClient
RETest
Sessions
ShortcutDisplay
SideKick
Templates
TextTools"
VoxSpell
WhiteSpace
XML
XSLT
XercesPlugin
Regards
Andreas
PS: I had to write this post twice. The first time, I had written the tags with their < and > and simply copied the plugin list from a saved plugin set file. When sending the post, I got a message the post was rejected and when going back to the previous screen in the browser, the post was lost. NOT NICE! Please warn before sending or enable editing the original text, or even offer an option to add HTML/XML text where required, in a form that is no security hazzard.
I am currently playing arround with HTML 5 and CSS 3, checking out their new features, and, of course, using jEdit for this.
When I use the new DOCTYPE definition of HTML 5
<!DOCTYPE html>
jEdit marks almost everything as bad XML/HTML.
If I use the old style
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
the old tags are recognised, but the new ones introduced with HTML 5 still get marked as errors, e.g. the ones mentioned in the subject line.
How can I setup jEdit in a way that it correctly accepts all HTML 5 tags and understands that new DOCTYPE definition, too?
I am currently using these jEdit plugins:
Accents
Beauty
Common Controls
Console
ErrorList
FTP
GnuRegexp
JDiff Plugin
Jakarta Commons
Jython Interpreter
Project Viewer
PythonClient
RETest
Sessions
ShortcutDisplay
SideKick
Templates
TextTools"
VoxSpell
WhiteSpace
XML
XSLT
XercesPlugin
Regards
Andreas
PS: I had to write this post twice. The first time, I had written the tags with their < and > and simply copied the plugin list from a saved plugin set file. When sending the post, I got a message the post was rejected and when going back to the previous screen in the browser, the post was lost. NOT NICE! Please warn before sending or enable editing the original text, or even offer an option to add HTML/XML text where required, in a form that is no security hazzard.