public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/101198] New: libstdc++-v3/doc/html/manual/policy_based_data_structures_test.html is not valid XHTML; fails DTD validation
@ 2021-06-24 19:14 dmalcolm at gcc dot gnu.org
2021-06-24 19:31 ` [Bug libstdc++/101198] " redi at gcc dot gnu.org
2021-06-24 19:36 ` redi at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: dmalcolm at gcc dot gnu.org @ 2021-06-24 19:14 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101198
Bug ID: 101198
Summary: libstdc++-v3/doc/html/manual/policy_based_data_structu
res_test.html is not valid XHTML; fails DTD validation
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: dmalcolm at gcc dot gnu.org
Target Milestone: ---
libstdc++-v3/doc/html/manual/policy_based_data_structures_test.html
has this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org
/TR/xhtml1/DTD/xhtml1-transitional.dtd">
In particular, that DTD has:
<!--
To avoid accessibility problems for people who aren't
able to see the image, you should provide a text
description using the alt and longdesc attributes.
In addition, avoid the use of server-side image maps.
-->
<!ELEMENT img EMPTY>
<!ATTLIST img
%attrs;
[...snip...]
alt %Text; #REQUIRED
[...snip...]
>
i.e. every <img> element is required to have an
alt=""
attribute to be valid according to the DTD.
There are numerous img elements; none of them have alt attributes.
Is this file autogenerated from XML? I'm not quite sure where the issue is.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug libstdc++/101198] libstdc++-v3/doc/html/manual/policy_based_data_structures_test.html is not valid XHTML; fails DTD validation
2021-06-24 19:14 [Bug libstdc++/101198] New: libstdc++-v3/doc/html/manual/policy_based_data_structures_test.html is not valid XHTML; fails DTD validation dmalcolm at gcc dot gnu.org
@ 2021-06-24 19:31 ` redi at gcc dot gnu.org
2021-06-24 19:36 ` redi at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: redi at gcc dot gnu.org @ 2021-06-24 19:31 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101198
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2021-06-24
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Yes, it's generated by docbook from XML sources.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug libstdc++/101198] libstdc++-v3/doc/html/manual/policy_based_data_structures_test.html is not valid XHTML; fails DTD validation
2021-06-24 19:14 [Bug libstdc++/101198] New: libstdc++-v3/doc/html/manual/policy_based_data_structures_test.html is not valid XHTML; fails DTD validation dmalcolm at gcc dot gnu.org
2021-06-24 19:31 ` [Bug libstdc++/101198] " redi at gcc dot gnu.org
@ 2021-06-24 19:36 ` redi at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: redi at gcc dot gnu.org @ 2021-06-24 19:36 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101198
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I think this will fix it:
--- a/libstdc++-v3/doc/xml/manual/test_policy_data_structures.xml
+++ b/libstdc++-v3/doc/xml/manual/test_policy_data_structures.xml
@@ -105,6 +105,7 @@
<imagedata align="center" format="PNG" scale="100"
fileref="../images/pbds_hash_text_find.png"/>
</imageobject>
+ <alt>Graph of results for hash text find</alt>
</mediaobject>
</informalfigure>
But it's needed for every image in the doc.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-06-24 19:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-24 19:14 [Bug libstdc++/101198] New: libstdc++-v3/doc/html/manual/policy_based_data_structures_test.html is not valid XHTML; fails DTD validation dmalcolm at gcc dot gnu.org
2021-06-24 19:31 ` [Bug libstdc++/101198] " redi at gcc dot gnu.org
2021-06-24 19:36 ` redi at gcc dot gnu.org
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).