Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Updated package.xml

git-svn-id: http://svn.php.net/repository/pear/packages/XML_Util2/trunk@313961 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information...
commit 4e0da7fafaec3c8996a406c6e8301200edee8438 1 parent a7b2592
Daniel O'Connor authored July 30, 2011

Showing 2 changed files with 32 additions and 329 deletions. Show diff stats Hide diff stats

  1. 2  package.php
  2. 359  package.xml
2  package.php
@@ -30,7 +30,7 @@
30 30
     'packagefile'       => 'package.xml',
31 31
     'packagedirectory'  => '.'));
32 32
 
33  
-if (PEAR::isError($result)) {
  33
+if (PEAR::isError($package)) {
34 34
     echo $result->getMessage();
35 35
     die();
36 36
 }
359  package.xml
... ...
@@ -1,6 +1,6 @@
1 1
 <?xml version="1.0" encoding="UTF-8"?>
2  
-<package packagerversion="1.7.2" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0     http://pear.php.net/dtd/tasks-1.0.xsd     http://pear.php.net/dtd/package-2.0     http://pear.php.net/dtd/package-2.0.xsd">
3  
- <name>XML_Util</name>
  2
+<package packagerversion="1.9.3" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0     http://pear.php.net/dtd/tasks-1.0.xsd     http://pear.php.net/dtd/package-2.0     http://pear.php.net/dtd/package-2.0.xsd">
  3
+ <name>XML_Util2</name>
4 4
  <channel>pear.php.net</channel>
5 5
  <summary>XML utility class</summary>
6 6
  <description>Selection of methods that are often needed when working with XML documents.  Functionality includes creating of attribute lists from arrays, creation of tags, validation of XML names and more.</description>
@@ -22,20 +22,25 @@
22 22
   <email>davey@php.net</email>
23 23
   <active>no</active>
24 24
  </helper>
25  
- <date>2008-12-07</date>
26  
- <time>19:40:27</time>
  25
+ <date>2011-07-30</date>
  26
+ <time>19:54:22</time>
27 27
  <version>
28  
-  <release>1.2.1</release>
29  
-  <api>1.2.0</api>
  28
+  <release>2.0.0alpha1</release>
  29
+  <api>2.0.0</api>
30 30
  </version>
31 31
  <stability>
32  
-  <release>stable</release>
33  
-  <api>stable</api>
  32
+  <release>alpha</release>
  33
+  <api>alpha</api>
34 34
  </stability>
35 35
  <license uri="http://opensource.org/licenses/bsd-license">BSD License</license>
36  
- <notes>Fixed Bug #14760: Bug in getDocTypeDeclaration() [ashnazg|fpospisil]</notes>
  36
+ <notes>
  37
+Initial release
  38
+Forked from XML_Util
  39
+Fixed dir layout
  40
+PHP5 E_STRICT compatability
  41
+ </notes>
37 42
  <contents>
38  
-  <dir baseinstalldir="XML" name="/">
  43
+  <dir baseinstalldir="/" name="/">
39 44
    <dir name="examples">
40 45
     <file name="example.php" role="doc" />
41 46
     <file name="example2.php" role="doc" />
@@ -61,18 +66,20 @@
61 66
     <file name="testBug_4950.phpt" role="test" />
62 67
     <file name="testBug_5392.phpt" role="test" />
63 68
    </dir> <!-- /tests -->
64  
-   <file name="Util.php" role="php">
65  
-    <tasks:replace from="@version@" to="version" type="package-info" />
66  
-   </file>
  69
+   <dir name="XML">
  70
+    <file name="Util2.php" role="php">
  71
+      <tasks:replace from="@version@" to="version" type="package-info" />
  72
+    </file>
  73
+   </dir> <!-- /XML -->
67 74
   </dir> <!-- / -->
68 75
  </contents>
69 76
  <dependencies>
70 77
   <required>
71 78
    <php>
72  
-    <min>4.3.0</min>
  79
+    <min>5.1.4</min>
73 80
    </php>
74 81
    <pearinstaller>
75  
-    <min>1.4.3</min>
  82
+    <min>1.9.3</min>
76 83
    </pearinstaller>
77 84
    <extension>
78 85
     <name>pcre</name>
@@ -83,325 +90,21 @@
83 90
  <changelog>
84 91
   <release>
85 92
    <version>
86  
-    <release>1.2.1</release>
87  
-    <api>1.2.0</api>
88  
-   </version>
89  
-   <stability>
90  
-    <release>stable</release>
91  
-    <api>stable</api>
92  
-   </stability>
93  
-   <date>2008-12-07</date>
94  
-   <license uri="http://opensource.org/licenses/bsd-license">BSD License</license>
95  
-   <notes>Fixed Bug #14760: Bug in getDocTypeDeclaration() [ashnazg|fpospisil]</notes>
96  
-  </release>
97  
-  <release>
98  
-   <version>
99  
-    <release>1.2.0</release>
100  
-    <api>1.2.0</api>
101  
-   </version>
102  
-   <stability>
103  
-    <release>stable</release>
104  
-    <api>stable</api>
105  
-   </stability>
106  
-   <date>2008-07-26</date>
107  
-   <license uri="http://opensource.org/licenses/bsd-license">BSD License</license>
108  
-   <notes>Changed license to New BSD License (Req #13826 [ashnazg])
109  
-Added a test suite against all API methods [ashnazg]
110  
-Switch to package.xml v2 [ashnazg]
111  
-Added Req #13839: Missing XHTML empty tags to collapse [ashnazg|drry]
112  
-Fixed Bug #5392: encoding of ISO-8859-1 is the only supported encoding [ashnazg]
113  
-Fixed Bug #4950: Incorrect CDATA serializing [ashnazg|drry]
114  
--- (this fix differs from the one in v1.2.0a1)</notes>
115  
-  </release>
116  
-  <release>
117  
-   <version>
118  
-    <release>1.2.0RC1</release>
119  
-    <api>1.2.0</api>
120  
-   </version>
121  
-   <stability>
122  
-    <release>beta</release>
123  
-    <api>beta</api>
124  
-   </stability>
125  
-   <date>2008-07-12</date>
126  
-   <license uri="http://opensource.org/licenses/bsd-license">BSD License</license>
127  
-   <notes>Changed license to New BSD License (Req #13826 [ashnazg])
128  
-Added a test suite against all API methods [ashnazg]
129  
-Switch to package.xml v2 [ashnazg]
130  
-Added Req #13839: Missing XHTML empty tags to collapse [ashnazg|drry]
131  
-Fixed Bug #5392: encoding of ISO-8859-1 is the only supported encoding [ashnazg]
132  
-Fixed Bug #4950: Incorrect CDATA serializing [ashnazg|drry]
133  
--- (this fix differs from the one in v1.2.0a1)</notes>
134  
-  </release>
135  
-  <release>
136  
-   <version>
137  
-    <release>1.2.0a2</release>
138  
-    <api>1.2.0</api>
139  
-   </version>
140  
-   <stability>
141  
-    <release>alpha</release>
142  
-    <api>alpha</api>
143  
-   </stability>
144  
-   <date>2008-05-22</date>
145  
-   <license uri="http://opensource.org/licenses/bsd-license">BSD License</license>
146  
-   <notes>Changed license to New BSD License (Req #13826 [ashnazg])
147  
-Added a test suite against all API methods [ashnazg]
148  
-Switch to package.xml v2 [ashnazg]
149  
-Added Req #13839: Missing XHTML empty tags to collapse [ashnazg|drry]
150  
-Fixed Bug #5392: encoding of ISO-8859-1 is the only supported encoding [ashnazg]
151  
-Fixed Bug #4950: Incorrect CDATA serializing [ashnazg|drry]
152  
--- (this fix differs from the one in v1.2.0a1)</notes>
153  
-  </release>
154  
-  <release>
155  
-   <version>
156  
-    <release>1.2.0a1</release>
157  
-    <api>1.2.0</api>
  93
+    <release>2.0.0alpha1</release>
  94
+    <api>2.0.0</api>
158 95
    </version>
159 96
    <stability>
160 97
     <release>alpha</release>
161 98
     <api>alpha</api>
162 99
    </stability>
163  
-   <date>2008-05-04</date>
  100
+   <date>2011-07-30</date>
164 101
    <license uri="http://opensource.org/licenses/bsd-license">BSD License</license>
165  
-   <notes>Changed license to New BSD License (Req #13826 [ashnazg])
166  
-Added a test suite against all API methods [ashnazg]
167  
-Switch to package.xml v2 [ashnazg]
168  
-Fixed Bug #4950: Incorrect CDATA serializing [ashnazg|ja.doma]</notes>
169  
-  </release>
170  
-  <release>
171  
-   <version>
172  
-    <release>1.1.4</release>
173  
-    <api>1.1.4</api>
174  
-   </version>
175  
-   <stability>
176  
-    <release>stable</release>
177  
-    <api>stable</api>
178  
-   </stability>
179  
-   <date>2006-12-16</date>
180  
-   <license uri="http://www.php.net/license">PHP License</license>
181  
-   <notes>- Fixed bug #9561: Not allowing underscores in middle of tags</notes>
182  
-  </release>
183  
-  <release>
184  
-   <version>
185  
-    <release>1.1.2</release>
186  
-    <api>1.1.2</api>
187  
-   </version>
188  
-   <stability>
189  
-    <release>stable</release>
190  
-    <api>stable</api>
191  
-   </stability>
192  
-   <date>2006-12-01</date>
193  
-   <license uri="http://www.php.net/license">PHP License</license>
194  
-   <notes>- fixed bug #5419: isValidName() now checks for character classes
195  
-- implemented request #8196: added optional parameter to influence array sorting to createTag() createTagFromArray() and createStartElement()</notes>
196  
-  </release>
197  
-  <release>
198  
-   <version>
199  
-    <release>1.1.1</release>
200  
-    <api>1.1.1</api>
201  
-   </version>
202  
-   <stability>
203  
-    <release>stable</release>
204  
-    <api>stable</api>
205  
-   </stability>
206  
-   <date>2004-12-23</date>
207  
-   <license uri="http://www.php.net/license">PHP License</license>
208  
-   <notes>- fixed bug in replaceEntities() and reverseEntities() in conjunction with XML_UTIL_ENTITIES_HTML
209  
-- createTag() and createTagFromArray() now accept XML_UTIL_ENTITIES_XML, XML_UTIL_ENTITIES_XML_REQUIRED, XML_UTIL_ENTITIES_HTML, XML_UTIL_ENTITIES_NONE and XML_UTIL_CDATA_SECTION as $replaceEntities parameter</notes>
210  
-  </release>
211  
-  <release>
212  
-   <version>
213  
-    <release>1.1.0</release>
214  
-    <api>1.1.0</api>
215  
-   </version>
216  
-   <stability>
217  
-    <release>stable</release>
218  
-    <api>stable</api>
219  
-   </stability>
220  
-   <date>2004-11-19</date>
221  
-   <license uri="http://www.php.net/license">PHP License</license>
222  
-   <notes>- Added collapseEmptyTags (patch by Sebastian Bergmann and Thomas Duffey)</notes>
223  
-  </release>
224  
-  <release>
225  
-   <version>
226  
-    <release>1.0.0</release>
227  
-    <api>1.0.0</api>
228  
-   </version>
229  
-   <stability>
230  
-    <release>stable</release>
231  
-    <api>stable</api>
232  
-   </stability>
233  
-   <date>2004-10-28</date>
234  
-   <license uri="http://www.php.net/license">PHP License</license>
235  
-   <notes>- Added reverseEntities() (request #2639)</notes>
236  
-  </release>
237  
-  <release>
238  
-   <version>
239  
-    <release>0.6.1</release>
240  
-    <api>0.6.1</api>
241  
-   </version>
242  
-   <stability>
243  
-    <release>stable</release>
244  
-    <api>stable</api>
245  
-   </stability>
246  
-   <date>2004-10-28</date>
247  
-   <license uri="http://www.php.net/license">PHP License</license>
248  
-   <notes>- Added check for tag name (either as local part or qualified name) in createTagFromArray() (bug #1083)</notes>
249  
-  </release>
250  
-  <release>
251  
-   <version>
252  
-    <release>0.6.0</release>
253  
-    <api>0.6.0</api>
254  
-   </version>
255  
-   <stability>
256  
-    <release>stable</release>
257  
-    <api>stable</api>
258  
-   </stability>
259  
-   <date>2004-06-07</date>
260  
-   <license uri="http://www.php.net/license">PHP License</license>
261  
-   <notes>- Fixed bug 1438 (namespaces not accepted for isValidName()) (thanks to davey)
262  
-- added optional parameter to replaceEntities() to define the set of entities to replace
263  
-- added optional parameter to attributesToString() to define, whether entities should be replaced (requested by Sebastian Bergmann)
264  
-- allowed second parameter to XML_Util::attributesToString() to be an array containing options (easier to use, if you only need to set the last parameter)
265  
-- introduced XML_Util::raiseError() to avoid the necessity of including PEAR.php, will only be included on error</notes>
266  
-  </release>
267  
-  <release>
268  
-   <version>
269  
-    <release>0.6.0beta1</release>
270  
-    <api>0.6.0beta1</api>
271  
-   </version>
272  
-   <stability>
273  
-    <release>beta</release>
274  
-    <api>beta</api>
275  
-   </stability>
276  
-   <date>2004-05-24</date>
277  
-   <license uri="http://www.php.net/license">PHP License</license>
278  
-   <notes>- Fixed bug 1438 (namespaces not accepted for isValidName()) (thanks to davey)
279  
-- added optional parameter to replaceEntities() to define the set of entities to replace
280  
-- added optional parameter to attributesToString() to define, whether entities should be replaced (requested by Sebastian Bergmann)
281  
-- allowed second parameter to XML_Util::attributesToString() to be an array containing options (easier to use, if you only need to set the last parameter)
282  
-- introduced XML_Util::raiseError() to avoid the necessity of including PEAR.php, will only be included on error</notes>
283  
-  </release>
284  
-  <release>
285  
-   <version>
286  
-    <release>0.5.2</release>
287  
-    <api>0.5.2</api>
288  
-   </version>
289  
-   <stability>
290  
-    <release>stable</release>
291  
-    <api>stable</api>
292  
-   </stability>
293  
-   <date>2003-11-22</date>
294  
-   <license uri="http://www.php.net/license">PHP License</license>
295  
-   <notes>now creates XHTML compliant empty tags (Davey),
296  
-minor whitespace fixes (Davey)</notes>
297  
-  </release>
298  
-  <release>
299  
-   <version>
300  
-    <release>0.5.1</release>
301  
-    <api>0.5.1</api>
302  
-   </version>
303  
-   <stability>
304  
-    <release>stable</release>
305  
-    <api>stable</api>
306  
-   </stability>
307  
-   <date>2003-09-26</date>
308  
-   <license uri="http://www.php.net/license">PHP License</license>
309  
-   <notes>added default namespace parameter (optional) in splitQualifiedName() (requested by Sebastian Bergmann)</notes>
310  
-  </release>
311  
-  <release>
312  
-   <version>
313  
-    <release>0.5</release>
314  
-    <api>0.5</api>
315  
-   </version>
316  
-   <stability>
317  
-    <release>stable</release>
318  
-    <api>stable</api>
319  
-   </stability>
320  
-   <date>2003-09-23</date>
321  
-   <license uri="http://www.php.net/license">PHP License</license>
322  
-   <notes>added support for multiline attributes in attributesToString(), createTag*() and createStartElement (requested by Yavor Shahpasov for XML_Serializer),
323  
-added createComment</notes>
324  
-  </release>
325  
-  <release>
326  
-   <version>
327  
-    <release>0.4</release>
328  
-    <api>0.4</api>
329  
-   </version>
330  
-   <stability>
331  
-    <release>stable</release>
332  
-    <api>stable</api>
333  
-   </stability>
334  
-   <date>2003-09-21</date>
335  
-   <license uri="http://www.php.net/license">PHP License</license>
336  
-   <notes>added createCDataSection(),
337  
-added support for CData sections in createTag* methods,
338  
-fixed bug #23,
339  
-fixed bug in splitQualifiedName()</notes>
340  
-  </release>
341  
-  <release>
342  
-   <version>
343  
-    <release>0.3</release>
344  
-    <api>0.3</api>
345  
-   </version>
346  
-   <stability>
347  
-    <release>stable</release>
348  
-    <api>stable</api>
349  
-   </stability>
350  
-   <date>2003-09-12</date>
351  
-   <license uri="http://www.php.net/license">PHP License</license>
352  
-   <notes>added createStartElement() and createEndElement()</notes>
353  
-  </release>
354  
-  <release>
355  
-   <version>
356  
-    <release>0.2.1</release>
357  
-    <api>0.2.1</api>
358  
-   </version>
359  
-   <stability>
360  
-    <release>stable</release>
361  
-    <api>stable</api>
362  
-   </stability>
363  
-   <date>2003-09-05</date>
364  
-   <license uri="http://www.php.net/license">PHP License</license>
365  
-   <notes>fixed bug with zero as tag content in createTagFromArray and createTag</notes>
366  
-  </release>
367  
-  <release>
368  
-   <version>
369  
-    <release>0.2</release>
370  
-    <api>0.2</api>
371  
-   </version>
372  
-   <stability>
373  
-    <release>stable</release>
374  
-    <api>stable</api>
375  
-   </stability>
376  
-   <date>2003-08-12</date>
377  
-   <license uri="http://www.php.net/license">PHP License</license>
378  
-   <notes>added XML_Util::getDocTypeDeclaration()</notes>
379  
-  </release>
380  
-  <release>
381  
-   <version>
382  
-    <release>0.1.1</release>
383  
-    <api>0.1.1</api>
384  
-   </version>
385  
-   <stability>
386  
-    <release>stable</release>
387  
-    <api>stable</api>
388  
-   </stability>
389  
-   <date>2003-08-02</date>
390  
-   <license uri="http://www.php.net/license">PHP License</license>
391  
-   <notes>bugfix: removed bug in createTagFromArray</notes>
392  
-  </release>
393  
-  <release>
394  
-   <version>
395  
-    <release>0.1</release>
396  
-    <api>0.1</api>
397  
-   </version>
398  
-   <stability>
399  
-    <release>stable</release>
400  
-    <api>stable</api>
401  
-   </stability>
402  
-   <date>2003-08-01</date>
403  
-   <license uri="http://www.php.net/license">PHP License</license>
404  
-   <notes>inital release</notes>
  102
+   <notes>
  103
+Initial release
  104
+Forked from XML_Util
  105
+Fixed dir layout
  106
+PHP5 E_STRICT compatability
  107
+   </notes>
405 108
   </release>
406 109
  </changelog>
407 110
 </package>

0 notes on commit 4e0da7f

Please sign in to comment.
Something went wrong with that request. Please try again.