[wp-trac] [WordPress Trac] #17826: Problem with the XML namespace feature

WordPress Trac wp-trac at lists.automattic.com
Fri Jun 17 14:34:26 UTC 2011


#17826: Problem with the XML namespace feature
------------------------------------+------------------------------
 Reporter:  html5rules              |       Owner:  Sohail Amir
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  General                 |     Version:  3.1.3
 Severity:  major                   |  Resolution:
 Keywords:  needs-patch needs-docs  |
------------------------------------+------------------------------

Comment (by ericmann):

 When I visit your homepage I see `<html lang="em">` in the header and it's
 served normally.  When the validator visits your homepage, it sees `<html
 xmlns="http://www.w3.org/1999/xhtml">` and is served from your CDN.

 I suspect you have something else on your server that is sending files
 from different locations.  Case in point:

 From your "live" site:
 {{{
 <head>
 <meta charset="UTF-8" />
 <meta name="google-site-verification"
 content="atYObw1ps1-mPKqYv4Tx8X_BS8kaSKZSP_SWGZCRGSk" />
 <title>SohailTech | Freelance Web Design</title>
 <link rel="stylesheet" href="/wp-content/themes/sohailtech/style.css" />
 <link rel="pingback" href="http://www.sohailtech.com/xmlrpc.php" />
 <link rel="shortcut icon" href="http://www.sohailtech.com/favicon.ico" />
 }}}

 From the validator:
 {{{
 <head>
 <link rel="stylesheet" type="text/css" href="http://cdn.sohailtech.com/wp-
 content/w3tc/min/ef9da2143ea4f0dd5dbd01943621f6b0.2206335831.css"
 media="all" />
 <meta charset="UTF-8" />
 <meta name="google-site-verification"
 content="atYObw1ps1-mPKqYv4Tx8X_BS8kaSKZSP_SWGZCRGSk" />
 <title>SohailTech | Freelance Web Design</title>
 <link rel="pingback" href="http://www.sohailtech.com/xmlrpc.php" />
 <link rel="shortcut icon" href="http://cdn.sohailtech.com/favicon.ico" />
 }}}

 Your server is responding differently to different requests.  For a live
 request it's returning regular content.  For the request from the
 validator it's returning content from a CDN.  This isn't a WordPress
 issue.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17826#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list