Doc #62118 [Asn->Csd]: Useless code example
Edit report at https://bugs.php.net/bug.php?id=62118&edit=1
ID: 62118
Updated by: googleguy@php.net
Reported by: joluju at free dot fr
Summary: Useless code example
-Status: Assigned
+Status: Closed
Type: Documentation Problem
Package: Documentation problem
Operating System: Irrelevant
PHP Version: Irrelevant
Assigned To: googleguy
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation better.
Previous Comments:
------------------------------------------------------------------------
[2012-07-27 12:09:12] googleguy@php.net
Automatic comment from SVN on behalf of googleguy
Revision: http://svn.php.net/viewvc/?view=revision&revision=326834
Log: Added new book.xml example for use throughout DOM documentation examples. Used example in
DOMDocument::getElementById(), which fixes Bug #62118
------------------------------------------------------------------------
[2012-07-23 03:06:30] googleguy@php.net
I can understand that the example is not self-contained here, in that you
couldn't easily test the example code to see the result without supplying your
own XML. I can also understand that it stems from the
DOMDocument::getElementsByTagName() where the XML is indeed given in the example
code.
I'll update the example here to reflect on the XML used in the other related
method thereby making it self-contained as well.
Thanks for you feedback.
------------------------------------------------------------------------
[2012-05-23 08:32:01] joluju at free dot fr
Description:
------------
---
From manual page: http://www.php.net/domdocument.getelementbyid#refsect1-domdocument.getelementbyid-examples
---
Since the contents of book.xml is not shown, we don't learn anything from the example.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=62118&edit=1
Thread (3 messages)