public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* http://gcc.gnu.org
@ 2002-10-03 10:04 vargenau
  2002-10-03 11:35 ` http://gcc.gnu.org Janis Johnson
  0 siblings, 1 reply; 11+ messages in thread
From: vargenau @ 2002-10-03 10:04 UTC (permalink / raw)
  To: gcc

Hello,

Thank you for maintaining the GCC web pages.
I like the fact that you put a button on the pages so that it
is easy the check the correctness of the HTML code.

Many of your pages are correct, unfortunately, some are not.
For exemple: http://gcc.gnu.org/libstdc++/

I used 
http://www.htmlhelp.com/tools/validator/
to recursively check your web site.

Regards,

-- 
Marc-Etienne Vargenau http://vargenau.free.fr
Membre du Cercle généalogique norvillois http://www.cgnorvillois.org
Mes données sont indexées sur Généanet http://www.geneanet.org

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: http://gcc.gnu.org
  2002-10-03 10:04 http://gcc.gnu.org vargenau
@ 2002-10-03 11:35 ` Janis Johnson
  2002-10-03 16:12   ` http://gcc.gnu.org Joe Buck
  0 siblings, 1 reply; 11+ messages in thread
From: Janis Johnson @ 2002-10-03 11:35 UTC (permalink / raw)
  To: vargenau; +Cc: gcc

On Thu, Oct 03, 2002 at 03:54:56PM +0200, vargenau@free.fr wrote:
> Hello,
> 
> Thank you for maintaining the GCC web pages.
> I like the fact that you put a button on the pages so that it
> is easy the check the correctness of the HTML code.
> 
> Many of your pages are correct, unfortunately, some are not.
> For exemple: http://gcc.gnu.org/libstdc++/
> 
> I used 
> http://www.htmlhelp.com/tools/validator/
> to recursively check your web site.

Thank you for the information.  I wasn't aware of that site, although
we regularly use http://validator.w3.org for individual files.

The GCC web pages that are generated by Texinfo 4.2 do not conform to
XHTML 1.0 Transitional as the pages claim.  The web page maintainers
are discussing how to handle this.

Janis Johnson

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: http://gcc.gnu.org
  2002-10-03 11:35 ` http://gcc.gnu.org Janis Johnson
@ 2002-10-03 16:12   ` Joe Buck
  2002-10-03 17:33     ` http://gcc.gnu.org Janis Johnson
  0 siblings, 1 reply; 11+ messages in thread
From: Joe Buck @ 2002-10-03 16:12 UTC (permalink / raw)
  To: Janis Johnson; +Cc: vargenau, gcc


> The GCC web pages that are generated by Texinfo 4.2 do not conform to
> XHTML 1.0 Transitional as the pages claim.  The web page maintainers
> are discussing how to handle this.

Option 1: fix texinfo.  If that's out:

They are not XHTML because end tags such as </p> that were formerly
optional in earlier HTML versions are no longer optional.  However,
the pages should validate against earlier HTML DTD's, such as
HTML 4.0 transitional.  So:

Option 2: if the page contains texinfo->html output, mark it as HTML 4.0
transitional instead of as XHTML 1.0 transitional.



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: http://gcc.gnu.org
  2002-10-03 16:12   ` http://gcc.gnu.org Joe Buck
@ 2002-10-03 17:33     ` Janis Johnson
  2002-10-03 18:11       ` http://gcc.gnu.org Joe Buck
  2002-10-04  5:09       ` http://gcc.gnu.org vargenau
  0 siblings, 2 replies; 11+ messages in thread
From: Janis Johnson @ 2002-10-03 17:33 UTC (permalink / raw)
  To: Joe Buck; +Cc: Janis Johnson, vargenau, gcc

On Thu, Oct 03, 2002 at 02:48:51PM -0700, Joe Buck wrote:
> 
> > The GCC web pages that are generated by Texinfo 4.2 do not conform to
> > XHTML 1.0 Transitional as the pages claim.  The web page maintainers
> > are discussing how to handle this.
> 
> Option 1: fix texinfo.  If that's out:

I sent mail to bug-texinfo@gnu.org but it hasn't shown up on their
archive yet so I don't know if it made it.  I included an example
that showed several problems.

> They are not XHTML because end tags such as </p> that were formerly
> optional in earlier HTML versions are no longer optional.  However,
> the pages should validate against earlier HTML DTD's, such as
> HTML 4.0 transitional.  So:
> 
> Option 2: if the page contains texinfo->html output, mark it as HTML 4.0
> transitional instead of as XHTML 1.0 transitional.

There's at least one problem that prevents validating as HTML 4.0.

Another possibility, perhaps, is to run the processed files through
HTML Tidy, which cleans them up quite nicely.

Janis

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: http://gcc.gnu.org
  2002-10-03 17:33     ` http://gcc.gnu.org Janis Johnson
@ 2002-10-03 18:11       ` Joe Buck
  2002-10-04  5:09       ` http://gcc.gnu.org vargenau
  1 sibling, 0 replies; 11+ messages in thread
From: Joe Buck @ 2002-10-03 18:11 UTC (permalink / raw)
  To: Janis Johnson; +Cc: Joe Buck, Janis Johnson, vargenau, gcc

[ problems with texinfo -> html output ]

Janis writes:
> Another possibility, perhaps, is to run the processed files through
> HTML Tidy, which cleans them up quite nicely.

Cool.  If it works, and it's easy, it seems like the way to go (at least
until texinfo is fixed).

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: http://gcc.gnu.org
  2002-10-03 17:33     ` http://gcc.gnu.org Janis Johnson
  2002-10-03 18:11       ` http://gcc.gnu.org Joe Buck
@ 2002-10-04  5:09       ` vargenau
  2002-10-04  6:42         ` http://gcc.gnu.org Joseph S. Myers
  2002-10-04  6:42         ` PATCH for http://gcc.gnu.org Gerald Pfeifer
  1 sibling, 2 replies; 11+ messages in thread
From: vargenau @ 2002-10-04  5:09 UTC (permalink / raw)
  To: Janis Johnson; +Cc: Joe Buck, Janis Johnson, vargenau, gcc

En réponse à Janis Johnson <janis187@us.ibm.com>:

> On Thu, Oct 03, 2002 at 02:48:51PM -0700, Joe Buck wrote:

> > They are not XHTML because end tags such as </p> that were formerly
> > optional in earlier HTML versions are no longer optional.  However,
> > the pages should validate against earlier HTML DTD's, such as
> > HTML 4.0 transitional.  So:
> > 
> > Option 2: if the page contains texinfo->html output, mark it as HTML
> 4.0
> > transitional instead of as XHTML 1.0 transitional.
> 
> There's at least one problem that prevents validating as HTML 4.0.
> 
> Another possibility, perhaps, is to run the processed files through
> HTML Tidy, which cleans them up quite nicely.

Thank you for answering quickly my initial message.

I tested HTML Tidy on some of your non-validating pages, and yes, it seems
to correct the pages so that they validate.
It solves at least the problems with unclosed constructs and the
unquoted attribute values.

I would suggest to always run HTML Tidy on the pages, even if correct.
With the right options, it gives the pages a nice formatting so that they
are more readable. I always do it on my own pages.

Some pages have additional problems:
- some pages lack the DOCTYPE declaration
- in page cvs.html, there are illegal "<" and ">" characters
- in page libstdc++/ you have a misplaced <a name="download">
- in page onlinedocs/gcc-2.95.3/chill.html the DOCTYPE should be first
- etc.

Thank you once again to take my remarks into account.

Best regards,

-- 
Marc-Etienne Vargenau http://vargenau.free.fr
Membre du Cercle généalogique norvillois http://www.cgnorvillois.org
Mes données sont indexées sur Généanet http://www.geneanet.org

^ permalink raw reply	[flat|nested] 11+ messages in thread

* PATCH for Re: http://gcc.gnu.org
  2002-10-04  5:09       ` http://gcc.gnu.org vargenau
  2002-10-04  6:42         ` http://gcc.gnu.org Joseph S. Myers
@ 2002-10-04  6:42         ` Gerald Pfeifer
  2002-10-04  8:15           ` vargenau
  1 sibling, 1 reply; 11+ messages in thread
From: Gerald Pfeifer @ 2002-10-04  6:42 UTC (permalink / raw)
  To: vargenau; +Cc: Janis Johnson, Joe Buck, gcc

On Fri, 4 Oct 2002 vargenau@free.fr wrote:
> Some pages have additional problems:
> - some pages lack the DOCTYPE declaration

Which ones?  (Please note that those under /onlinedocs are generated
automatically, so unless there is a serious problem, we probably won't
start tweaking them, though of course we'll try to get the tools we have
been using updated.)

> - in page cvs.html, there are illegal "<" and ">" characters

Fixed by the patch below.

> - in page libstdc++/ you have a misplaced <a name="download">

Also fixed by the patch below.

We are now trying to get makeinfo (which we use to generate parts of the
documentation in HTML format) updated to support XHTML, and I have already
started hacking our scripts to add a proper DOCTYPE where we are not fully
XHTML compliant.

Thanks for your comments,
Gerald

Index: cvs.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/cvs.html,v
retrieving revision 1.78
diff -u -3 -p -r1.78 cvs.html
--- cvs.html	16 Sep 2002 19:24:45 -0000	1.78
+++ cvs.html	4 Oct 2002 11:52:16 -0000
@@ -178,7 +178,8 @@ you may want to check out include:</p>
   <li>mips-3_4-rewrite-branch: This branch is for largish rewrites to the
       mips backend.  This has a long term goal of no macro instructions and
       updating the port to the current infrastructure.  Send patches to
-      Eric Christopher <<a href="mailto:echristo@redhat.com">echristo@redhat.com</a>> and CC: <<a href="mailto:gcc-patches@gcc.gnu.org">gcc-patches@gcc.gnu.org</a>> for inclusion.</li>
+      Eric Christopher &lt;<a href="mailto:echristo@redhat.com">echristo@redhat.com</a>&gt;
+      and CC: &lt;<a href="mailto:gcc-patches@gcc.gnu.org">gcc-patches@gcc.gnu.org</a>&gt;.</li>
 </ul>
Index: libstdc++/index.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/libstdc++/index.html,v
retrieving revision 1.26
diff -u -3 -p -r1.26 index.html
--- libstdc++/index.html	15 Jul 2002 20:02:53 -0000	1.26
+++ libstdc++/index.html	4 Oct 2002 12:05:17 -0000
@@ -126,7 +126,7 @@

 <hr />

-<a name="download"><h3>Downloading</h3></a>
+<h3><a name="download">Downloading</a></h3>

 <p>Snapshots are located in the GCC FTP area, in the libstdc++ subdirectory,
    <code>&lt;URL:ftp://gcc.gnu.org/pub/gcc/libstdc++/&gt;</code>.  You will
@@ -145,6 +145,7 @@
    out the <code>gcc</code> module will also get the library sources; to
    retrieve only the library, check out the <code>libstdc++-v3</code> module
    instead.
+</p>

 </td></tr></table></td></tr></table>


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: http://gcc.gnu.org
  2002-10-04  5:09       ` http://gcc.gnu.org vargenau
@ 2002-10-04  6:42         ` Joseph S. Myers
  2002-10-04  6:42         ` PATCH for http://gcc.gnu.org Gerald Pfeifer
  1 sibling, 0 replies; 11+ messages in thread
From: Joseph S. Myers @ 2002-10-04  6:42 UTC (permalink / raw)
  To: vargenau; +Cc: gcc

On Fri, 4 Oct 2002 vargenau@free.fr wrote:

> I would suggest to always run HTML Tidy on the pages, even if correct.
> With the right options, it gives the pages a nice formatting so that they
> are more readable. I always do it on my own pages.

Readability to humans of the HTML source of generated web pages that will
only be read by web browsers hardly seems useful.  It might well make
sense to run it to make the formatting of the source in CVS that is edited
nicer, but there you need to avoid e.g. adding a DOCTYPE since the source
in CVS doesn't include the DOCTYPE, it's added in preprocessing.

> - in page onlinedocs/gcc-2.95.3/chill.html the DOCTYPE should be first

I don't expect anything to be done about regenerating the older release
manuals (3.0.x and earlier) generated with texi2html because those manuals
weren't adapted for makeinfo --html.  (Though Tidy could be run over the
generated HTML for them, since they're not going to be regenerated later
with more recent tool versions (to keep URLs stable).)  The later (3.1,
3.1.1, 3.2, mainline) manuals can be regenerated with some subsequent
makeinfo version that supports XHTML (since makeinfo --html now uses
stable URLs based on node names).

-- 
Joseph S. Myers
jsm28@cam.ac.uk

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: PATCH for Re: http://gcc.gnu.org
  2002-10-04  6:42         ` PATCH for http://gcc.gnu.org Gerald Pfeifer
@ 2002-10-04  8:15           ` vargenau
  2002-10-04 10:14             ` Gerald Pfeifer
  0 siblings, 1 reply; 11+ messages in thread
From: vargenau @ 2002-10-04  8:15 UTC (permalink / raw)
  To: Gerald Pfeifer; +Cc: vargenau, Janis Johnson, Joe Buck, gcc

En réponse à Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>:

> On Fri, 4 Oct 2002 vargenau@free.fr wrote:
> > Some pages have additional problems:
> > - some pages lack the DOCTYPE declaration
> 
> Which ones?  (Please note that those under /onlinedocs are generated
> automatically, so unless there is a serious problem, we probably won't
> start tweaking them, though of course we'll try to get the tools we
> have
> been using updated.)

As I explained in my inital message, I have used 
http://www.htmlhelp.com/tools/validator/
to check your pages recursively.
It allows to check a maximum of 100 pages, so my list is not
exhaustive.

http://gcc.gnu.org/testresults/

http://gcc.gnu.org/ml/gcc-announce/
http://gcc.gnu.org/ml/java-announce/
http://gcc.gnu.org/ml/gcc-patches/
http://gcc.gnu.org/ml/gcc-testresults/
http://gcc.gnu.org/ml/libstdc++/
http://gcc.gnu.org/ml/java/
http://gcc.gnu.org/ml/java-patches/
http://gcc.gnu.org/ml/gcc-prs/
http://gcc.gnu.org/ml/gcc-cvs/
http://gcc.gnu.org/ml/libstdc++-cvs/

http://gcc.gnu.org/onlinedocs/g77/News.html
http://gcc.gnu.org/onlinedocs/gcc/Contributors.html

Illegal DOCTYPE
http://gcc.gnu.org/ml/gcc/2002-08/msg00822.html
http://gcc.gnu.org/ml/gcc-prs/2002-01/msg00551.html
http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00663.html
 
Best regards,

-- 
Marc-Etienne Vargenau http://vargenau.free.fr
Membre du Cercle généalogique norvillois http://www.cgnorvillois.org
Mes données sont indexées sur Généanet http://www.geneanet.org

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: PATCH for Re: http://gcc.gnu.org
  2002-10-04  8:15           ` vargenau
@ 2002-10-04 10:14             ` Gerald Pfeifer
  0 siblings, 0 replies; 11+ messages in thread
From: Gerald Pfeifer @ 2002-10-04 10:14 UTC (permalink / raw)
  To: vargenau; +Cc: Janis Johnson, Joe Buck, gcc

On Fri, 4 Oct 2002 vargenau@free.fr wrote:
> http://gcc.gnu.org/testresults/

Okay, this is generated externaly and we cannot easily fix that; in
fact, we probably simply should remove it.

> http://gcc.gnu.org/ml/gcc-announce/
> http://gcc.gnu.org/ml/java-announce/
> http://gcc.gnu.org/ml/gcc-patches/
> http://gcc.gnu.org/ml/gcc-testresults/
> http://gcc.gnu.org/ml/libstdc++/
> http://gcc.gnu.org/ml/java/
> http://gcc.gnu.org/ml/java-patches/
> http://gcc.gnu.org/ml/gcc-prs/
> http://gcc.gnu.org/ml/gcc-cvs/
> http://gcc.gnu.org/ml/libstdc++-cvs/

Fixed manually.

> http://gcc.gnu.org/onlinedocs/g77/News.html
> http://gcc.gnu.org/onlinedocs/gcc/Contributors.html

Generated automatically using makeinfo, where we are currently in
contact with the maintainer.

> Illegal DOCTYPE
> http://gcc.gnu.org/ml/gcc/2002-08/msg00822.html
> http://gcc.gnu.org/ml/gcc-prs/2002-01/msg00551.html
> http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00663.html

I fail to see the problem here. Does it complain because there are
comments before the DOCTYPE or is the DOCTYPE really an invalid/obsolete
one?

Gerald
-- 
Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: PATCH for Re: http://gcc.gnu.org
@ 2002-10-07  9:03 vargenau
  0 siblings, 0 replies; 11+ messages in thread
From: vargenau @ 2002-10-07  9:03 UTC (permalink / raw)
  To: pfeifer; +Cc: janis187, Joe.Buck, gcc, vargenau

>>Illegal DOCTYPE
>>http://gcc.gnu.org/ml/gcc/2002-08/msg00822.html
>>http://gcc.gnu.org/ml/gcc-prs/2002-01/msg00551.html
>>http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00663.html
> 
> 
> I fail to see the problem here. Does it complain because there are
> comments before the DOCTYPE or is the DOCTYPE really an invalid/obsolete
> one?
> 
> Gerald

In these three pages, the DOCTYPE used is
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML//EN">
that does not correspond to any current version of HTML from W3C.

The official list of DOCTYPE's can be found at
http://www.w3.org/QA/2002/04/valid-dtd-list

From this page:

HTML 2.0  DTD

<!DOCTYPE html PUBLIC "-//IETF//DTD HTML 2.0//EN">

HTML 3.2 DTD

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">

HTML 4.01 Strict, Transitional, Frameset

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
   "http://www.w3.org/TR/html4/strict.dtd">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
   "http://www.w3.org/TR/html4/frameset.dtd">
	

XHTML 1.0 Strict, Transitional, Frameset

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
	

XHTML 1.1 DTD

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" 
   "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
	
Regards,

-- 
Marc-Etienne Vargenau http://vargenau.free.fr
Membre du Cercle généalogique norvillois http://www.cgnorvillois.org
Mes données sont indexées sur Généanet http://www.geneanet.org

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2002-10-07  9:26 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-03 10:04 http://gcc.gnu.org vargenau
2002-10-03 11:35 ` http://gcc.gnu.org Janis Johnson
2002-10-03 16:12   ` http://gcc.gnu.org Joe Buck
2002-10-03 17:33     ` http://gcc.gnu.org Janis Johnson
2002-10-03 18:11       ` http://gcc.gnu.org Joe Buck
2002-10-04  5:09       ` http://gcc.gnu.org vargenau
2002-10-04  6:42         ` http://gcc.gnu.org Joseph S. Myers
2002-10-04  6:42         ` PATCH for http://gcc.gnu.org Gerald Pfeifer
2002-10-04  8:15           ` vargenau
2002-10-04 10:14             ` Gerald Pfeifer
2002-10-07  9:03 vargenau

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).