HTML5ify this file. Refer to #1036406: Keep an eye on the spec: HTML5 DOCTYPE for RDFa for discussion of the doctype. This issue is for all the other stuff, besides the doctype.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 1036406-ab-1.patch | 737 bytes | alanburke |
HTML5ify this file. Refer to #1036406: Keep an eye on the spec: HTML5 DOCTYPE for RDFa for discussion of the doctype. This issue is for all the other stuff, besides the doctype.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 1036406-ab-1.patch | 737 bytes | alanburke |
Comments
Comment #1
tim.plunkettComment #2
Anonymous (not verified) commentedxmlns is kinda sorta deprecated in RDFa 1.1... it still needs to be supported by user agents, but it is not recommended for authors to use.
HTML + RDFa Working Draft
This would change the following markup in D7
to:
Comment #3
Anonymous (not verified) commentedhmmm, I have no 7.x version tag available
Comment #4
tim.plunkettComment #5
alanburke commentedSo here's a start.
We strip out the XHTML stuff from the doctype declaration.
Comment #6
Anonymous (not verified) commentedAs we were talking about in the discussion, should there be a configurable option that allows you to switch between doctypes? Since XHTML5 is a subset of HTML5, would there be anything that would prevent us from making things like the lang attribute a variable? This would allow to switch from lang to xml:lang
This would probably have repercussions throughout the rest of the system though. For instance, anything that puts lang attributes in elements would need to be addressed.
Comment #7
alanburke commentedSo, leaving aside of the question of whether we allow xml to be configurable, is the proposed markup good to go?
Comment #8
Anonymous (not verified) commentedI think so.
One thing to note, the
versionattribute that @alanburke removed is deprecated in HTML5, according to HTML5 Now.Comment #9
alanburke commentedJust to note that the patch in comment 5 has been committed.
I'm not sure what else need to be done with this one.
Marking fixed - a new issue can be opened for further changes.
Comment #10
Anonymous (not verified) commentedSounds good :)