* [wwwdocs] Update style.mhtml for stricter validators
@ 2007-07-25 16:15 Gerald Pfeifer
0 siblings, 0 replies; only message in thread
From: Gerald Pfeifer @ 2007-07-25 16:15 UTC (permalink / raw)
To: gcc-patches; +Cc: Tobias Burnus
validator.w3.org got stricter over night (virtually) and it seems we
now need to start the XML declaration piece in the first column.
Cudos to Tobias for tracking this down!
I applied the patch below, re-ran the preprocessing script on gcc.gnu.org,
and verified that this failure is now gone.
Gerald
Index: style.mhtml
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/style.mhtml,v
retrieving revision 1.97
diff -u -3 -p -r1.97 style.mhtml
--- style.mhtml 21 Sep 2006 14:17:36 -0000 1.97
+++ style.mhtml 25 Jul 2007 16:02:23 -0000
@@ -28,9 +28,11 @@
>
>
+;;; Note that the <?xml...> line really needs to start in the first column.
+
<if <var-exists XHTML>
<group
- <?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-07-25 16:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-25 16:15 [wwwdocs] Update style.mhtml for stricter validators Gerald Pfeifer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).