https://bugzilla.wikimedia.org/show_bug.cgi?id=209

--- Comment #12 from Renich Bon Ciric <ren...@woralelandia.com> 2010-10-05 
22:17:40 UTC ---
(In reply to comment #9)
> 1.16.0 ships with an XHTML Strict header for XML well-formedness reasons.  Try
> setting the validator manually to HTML5 and it will validate (modulo bugs):
> 
> http://validator.w3.org/check?uri=http%3A%2F%2Fwiki.cabal.mx%2Fwiki%2FP%25C3%25A1gina_Principal&charset=%28detect+automatically%29&doctype=HTML5&group=0&user-agent=W3C_Validator%2F1.1

It appeared so (before the wgHtml5 = false) but, this warning seems to negate
what the validator asserts. I found the warning just bellow.

"DOCTYPE Override in effect!

The detected DOCTYPE Declaration "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>" has been
suppressed and the DOCTYPE for "HTML5" inserted instead, but even if no errors
are shown below the document will not be Valid until you update it to reflect
this new DOCTYPE.."

It seems the validator contradicts himself but, still, there's a warning; there
shouldn't be one.

> In 1.17, we switched to <!DOCTYPE html> after some fixes to ensure this 
> doesn't
> break well-formedness (basically, getting rid of named entities).  In 1.16, 
> you
> can either set $wgWellFormedXml = false (disabling well-formedness) or 
> $wgHtml5
> = false (disabling HTML5 features) to get the doctype to match the content.  
> In
> the default setup, output is valid HTML5 (modulo bugs) but has a misleading
> doctype.
> 
> Basically, there is an issue here, but it's fixed in 1.17, so there's nothing
> specific for us to do at this point.  The patch to remove named entities was
> enormous and will not be backported to 1.16.  In the future, you should file
> new bugs on specific issues you have, not post in existing bugs -- 
> particularly
> not tracker bugs.

Nice to read. When is 1.17.0 out? ;)

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to