[wp-trac] [WordPress Trac] #25863: Core not working when served as application/xhtml+xml
WordPress Trac
noreply at wordpress.org
Thu Nov 7 12:51:30 UTC 2013
#25863: Core not working when served as application/xhtml+xml
--------------------------+-----------------------------
Reporter: pnutus | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Validation | Version: 3.7.1
Severity: normal | Keywords:
--------------------------+-----------------------------
All pages in Core has the following first lines:
{{{
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes();
?>>
}}}
The Doctype implies HTML5, but the {{{xmlns}}} attribute implies XHTML.
The server I'm deploying on is interpreting the file as XHTML and serving
it as {{{application/xhtml+xml}}}. Some Core pages contain named entities
such as {{{ }}}, which do not work when the page is served as
{{{application/xhtml+xml}}} (at least not in WebKit/Blink browsers).
What is the point of the {{{xmlns}}} attribute, as it is deprecated in
HTML5? Should we remove it?
Or change the named entities to numeric? related: #13341 #9030
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25863>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list