php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #61457 PHP documentation (single-file version) doesn't validate
Submitted: 2012-03-20 20:41 UTC Modified: 2021-08-10 16:42 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: mr_platelet+m17ami at fastmail dot fm Assigned: cmb (profile)
Status: Duplicate Package: Doc Build problem
PHP Version: Irrelevant OS: irrelevant
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
40 - 36 = ?
Subscribe to this entry?

 
 [2012-03-20 20:41 UTC] mr_platelet+m17ami at fastmail dot fm
Description:
------------
The HTML validator from htmlhelp.com (which in Debian
Linux is available in the wdg-html-validator package)
says that the single-file PHP documentation is invalid.
Here is a terminal transcript:

bash$ validate --version
Offline HTMLHelp.com Validator, Version 1.2.2
by Liam Quinn <liam@htmlhelp.com>
bash$ head -1 page.html 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd">
bash$ validate page.html > validate.out
bash$ grep -c '^Error ' validate.out
36812
bash$ 

The file "page.html" (used in the
transcript above) is dated 2012-03-16.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-05-18 16:05 UTC] sobak@php.net
-Type: Documentation Problem +Type: Bug -Package: Documentation problem +Package: Doc Build problem
 [2021-08-10 16:42 UTC] cmb@php.net
-Status: Open +Status: Duplicate -Assigned To: +Assigned To: cmb
 [2021-08-10 16:42 UTC] cmb@php.net
I'm closing this as duplicate of bug #60224; there may be other
issue than the nesting of <div>s inside of <p>s, but without
resolving these, it doesn't even make sense to try to validate the
docs.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 03:01:28 2024 UTC