Bug #7546 [NEW]: package.xml 2.0 documentation has outdated description
| From: | takagi at php dot net | Date: | Tue, 02 May 2006 23:48:29 +0000 |
| Subject: | Bug #7546 [NEW]: package.xml 2.0 documentation has outdated description | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-7864@lists.php.net to get a copy of this message | ||
From: takagi at php dot net
Operating system: Irrelevant
Package version:
PHP version: Irrelevant
Package: Documentation
Bug Type: Bug
Bug description: package.xml 2.0 documentation has outdated description
Description:
------------
package.xml 2.0 documentation at
http://pear.php.net/manual/en/guide.developers.package2.dependencies.php#guide.developers.package2.dependencies.php
describes <max> tag is required, but the tag in <php> dependency is not
"required" any longer.
http://cvs.php.net/viewcvs.cgi/pearweb/public_html/dtd/package-2.0.xsd?r1=1.43&r2=1.44
and there is no <recommended> tag in <php> dependency.
Expected result:
----------------
Index: en/guide/developers/package2/dependencies.xml
===================================================================
RCS file:
/repository/peardoc/en/guide/developers/package2/dependencies.xml,v
retrieving revision 1.4
diff -u -r1.4 dependencies.xml
--- en/guide/developers/package2/dependencies.xml 18 Sep 2005
05:27:45 -0000 1.4
+++ en/guide/developers/package2/dependencies.xml 2 May 2006
23:36:23 -0000
@@ -102,8 +102,8 @@
<para>
These changes were made to simplify xml validation and parsing. Note
that unlike package.xml
1.0, the <pearinstaller> and <php> dependencies are
required in all package.xml.
- In addition the <min> tag is required in <pearinstaller>,
and both the <min>
- and <max> tags are required for <php> dependencies.
+ In addition the <min> tag is required in both
<pearinstaller> and
+ <php> dependencies.
</para>
</refsect2>
<refsect2 id="guide.developers.package2.dependencies.pearinstaller">
@@ -162,17 +162,7 @@
</listitem>
<listitem>
<para>
- <max> - maximum version of PHP supported. This tag is
required in all package.xml
- <php> dependencies.
- </para>
- </listitem>
- <listitem>
- <para>
- <recommended> - recommended version of PHP. This tag is
used for strict
- version control. The installer will refuse to install a package
without the --force
- option unless the version exactly matches recommended. This can
be used to provide a level
- of extra security, as a package can be set to install using a
version that is known to work
- without limiting future upgrades.
+ <max> - maximum version of PHP supported.
</para>
</listitem>
<listitem>
--
Edit bug report at http://pear.php.net/bugs/bug.php?id=7546&edit=1
--