cvs: peardoc /en/guide/developers packagedef.xml
| From: | Greg Beaver | Date: | Thu, 12 Oct 2006 21:54:13 +0000 |
| Subject: | cvs: peardoc /en/guide/developers packagedef.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-8604@lists.php.net to get a copy of this message | ||
cellog Thu Oct 12 21:54:13 2006 UTC
Modified files:
/peardoc/en/guide/developers packagedef.xml
Log:
fix Bug #6146 package.xml examples do not validate against DTD
http://cvs.php.net/viewvc.cgi/peardoc/en/guide/developers/packagedef.xml?r1=1.33&r2=1.34&diff_format=u
Index: peardoc/en/guide/developers/packagedef.xml
diff -u peardoc/en/guide/developers/packagedef.xml:1.33
peardoc/en/guide/developers/packagedef.xml:1.34
--- peardoc/en/guide/developers/packagedef.xml:1.33 Sun Dec 11 01:33:34 2005
+++ peardoc/en/guide/developers/packagedef.xml Thu Oct 12 21:54:13 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1" ?>
-<!-- $Revision: 1.33 $ -->
+<!-- $Revision: 1.34 $ -->
<!--
WORK IN PROGRESS, THERE IS PROBABLY LITTLE POINT IN TRANSLATING
THIS DOCUMENT YET.
@@ -12,6 +12,14 @@
<title>Introduction to the package definition file
<filename>package.xml</filename></title>
<titleabbrev>Introduction</titleabbrev>
+ <warning>
+ <title>package.xml version 1.0 is deprecated</title>
+ <para>
+ package.xml 1.0 is deprecated, please use package.xml version 2.0,
+ documentation is found at <link
linkend="guide.developers.package2">package.xml 2.0 documentation</link>
+ </para>
+ </warning>
+
<simpara>
The package definition file <filename>package.xml</filename> is,
as the name already implies, a well-formed XML file that contains
@@ -300,7 +308,7 @@
</notes>
<filelist>
<dir name="/" baseinstalldir="Money">
- <file role="php">Fast.php</file>
+ <file role="php" name="Fast.php" />
</dir>
</filelist>
</release>
@@ -333,18 +341,18 @@
</notes>
<filelist>
<dir name="/" baseinstalldir="Money">
- <file role="php">Fast.php</file>
- <dir name="Calculator" role="php">
- <file>Calculator.php</file>
- <file>Currency.php</file>
- <file>Stocks.php</file>
+ <file role="php" name="Fast.php" />
+ <dir name="Calculator">
+ <file name="Calculator.php" role="php" />
+ <file name="Currency.php" role="php" />
+ <file name="Stocks.php" role="php" />
</dir>
- <dir name="docs" role="doc">
- <file>README.txt</file>
- <file>tutorial.txt</file>
- <dir name="examples" role="doc">
- <file role="php">NASDAQ.php</file>
- <file role="php">DAX.php</file>
+ <dir name="docs">
+ <file name="README.txt" role="doc" />
+ <file name="tutorial.txt" role="doc" />
+ <dir name="examples">
+ <file name="NASDAQ.php" role="php" />
+ <file name="DAX.php" role="php" />
</dir>
</dir>
</dir>