File: package2.xml

package info (click to toggle)
php-xml-parser 1.3.2-4
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 204 kB
  • ctags: 147
  • sloc: xml: 755; php: 512; makefile: 58; sh: 29
file content (432 lines) | stat: -rw-r--r-- 16,280 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
<?xml version="1.0" encoding="UTF-8"?>
<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">
 <name>XML_Parser</name>
 <channel>pear.php.net</channel>
 <summary>XML parsing class based on PHP&apos;s bundled expat</summary>
 <description>This is an XML parser based on PHPs built-in xml extension.
It supports two basic modes of operation: &quot;func&quot; and &quot;event&quot;.  In &quot;func&quot; mode, it will look for a function named after each element (xmltag_ELEMENT for start tags and xmltag_ELEMENT_ for end tags), and in &quot;event&quot; mode it uses a set of generic callbacks.

Since version 1.2.0 there&apos;s a new XML_Parser_Simple class that makes parsing of most XML documents easier, by automatically providing a stack for the elements.
Furthermore its now possible to split the parser from the handler object, so you do not have to extend XML_Parser anymore in order to parse a document with it.</description>
 <lead>
  <name>Stephan Schmidt</name>
  <user>schst</user>
  <email>schst@php-tools.net</email>
  <active>no</active>
 </lead>
 <lead>
  <name>Chuck Burgess</name>
  <user>ashnazg</user>
  <email>ashnazg@php.net</email>
  <active>yes</active>
 </lead>
 <developer>
  <name>Stig S&amp;#230;ther Bakken</name>
  <user>ssb</user>
  <email>stig@php.net</email>
  <active>no</active>
 </developer>
 <developer>
  <name>Tomas V.V.Cox</name>
  <user>cox</user>
  <email>cox@php.net</email>
  <active>no</active>
 </developer>
 <date>2009-01-21</date>
 <time>18:51:48</time>
 <version>
  <release>1.3.2</release>
  <api>1.3.0</api>
 </version>
 <stability>
  <release>stable</release>
  <api>stable</api>
 </stability>
 <license>BSD License</license>
 <notes>- Fix Bug #9328: assigned by reference error in XML_RSS parse
- add an AllTests.php for PHPUnit usage</notes>
 <contents>
  <dir name="/">
   <file baseinstalldir="XML" md5sum="88f4675e960d07abb4b53406923fee90" name="examples/xml_parser_file.php" role="doc" />
   <file baseinstalldir="XML" md5sum="48d354dd3d0ab55a4078ae5c3c1340ea" name="examples/xml_parser_file.xml" role="doc" />
   <file baseinstalldir="XML" md5sum="9d16033d9d2f15df41a8f7208209deb1" name="examples/xml_parser_funcmode.php" role="doc" />
   <file baseinstalldir="XML" md5sum="a92d873b15d5eb40ddad473b1df57fad" name="examples/xml_parser_handler.php" role="doc" />
   <file baseinstalldir="XML" md5sum="1b23abc1a80fa1dd9c9b676dafa552be" name="examples/xml_parser_simple1.php" role="doc" />
   <file baseinstalldir="XML" md5sum="db308d89b93c02b1b29009d0d048de9b" name="examples/xml_parser_simple1.xml" role="doc" />
   <file baseinstalldir="XML" md5sum="9e30736b3d8e5724e925a833587f8b42" name="examples/xml_parser_simple2.php" role="doc" />
   <file baseinstalldir="XML" md5sum="b8377caaeb5f5447aaf46f6f5795680e" name="examples/xml_parser_simple2.xml" role="doc" />
   <file baseinstalldir="XML" md5sum="e598a4f57cc98f11e2ca80b4bac9efab" name="examples/xml_parser_simple_handler.php" role="doc" />
   <file baseinstalldir="XML" md5sum="d11a9e750faecbfba6cc0c7a9eee5dcb" name="Parser/Simple.php" role="php" />
   <file baseinstalldir="XML" md5sum="c8b3925caafec04114ce46b590d8e21b" name="tests/001.phpt" role="test" />
   <file baseinstalldir="XML" md5sum="127466ab6483e636f7f99ce44dee6bfd" name="tests/002.phpt" role="test" />
   <file baseinstalldir="XML" md5sum="bdac6b971b9a30db1d881e3ec4494e96" name="tests/003.phpt" role="test" />
   <file baseinstalldir="XML" md5sum="98b9f2d83dd5892f19a0b4f6293ce78a" name="tests/004.phpt" role="test" />
   <file baseinstalldir="XML" md5sum="3fa0880b7277152e672190488455ba1e" name="tests/005.phpt" role="test" />
   <file baseinstalldir="XML" md5sum="b91b21ffa233cfada34ffc2988434569" name="tests/AllTests.php" role="test" />
   <file baseinstalldir="XML" md5sum="61a4363ee0cb4ba6e419bf403598a549" name="tests/bug-9328.phpt" role="test" />
   <file baseinstalldir="XML" md5sum="21dc5257d037acc919a99f6b861a80bf" name="tests/test2.xml" role="test" />
   <file baseinstalldir="XML" md5sum="21dc5257d037acc919a99f6b861a80bf" name="tests/test3.xml" role="test" />
   <file baseinstalldir="XML" md5sum="f457617bc7ab0002f7374e9cca379681" name="Parser.php" role="php" />
  </dir>
 </contents>
 <dependencies>
  <required>
   <php>
    <min>4.2.0</min>
   </php>
   <pearinstaller>
    <min>1.4.0b1</min>
   </pearinstaller>
   <package>
    <name>PEAR</name>
    <channel>pear.php.net</channel>
   </package>
  </required>
 </dependencies>
 <phprelease />
 <changelog>
  <release>
   <version>
    <release>1.1.0beta1</release>
    <api>1.1.0beta1</api>
   </version>
   <stability>
    <release>beta</release>
    <api>beta</api>
   </stability>
   <date>2004-04-16</date>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>- Fixed memory leaks parsing many documents or big files (mroch)
- Fixed setInput() url detection regex (mroch)
- Added setInputString() method, allowing strings to be passed as input (schst)
- Error handling rewritten (cox)
- Increased the overall parsing speed (cox)
- Added free() method (schst
- Added reset() method, that is called when parsing a document so it is possible to parse more than one document per instance (schst)
- Added error codes (schst)
- revamped documentation (cox, schst)
- Fixed bug #516 (url fopen and safe mode) (schst)
- Fixed bug #637 (dependency on PEAR) (schst)
- improved parse() and parseString() to be able to parse more than one document (schst)
- added PHP5 constructor (schst)
- moved xml_parser_create() to _create() for PHP5 compatibility (schst)
- added dependency on PHP 4.2

Thanks to Marshall Roch for commments and contributions and Tomas V.V. Cox
for applying a lot of fixes and improvements.</notes>
  </release>
  <release>
   <version>
    <release>1.1.0beta2</release>
    <api>1.1.0beta2</api>
   </version>
   <stability>
    <release>beta</release>
    <api>beta</api>
   </stability>
   <date>2004-04-18</date>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>beta2:
- Fixed calling of __construct

beta1:
- Fixed memory leaks parsing many documents or big files (mroch)
- Fixed setInput() url detection regex (mroch)
- Added setInputString() method, allowing strings to be passed as input (schst)
- Error handling rewritten (cox)
- Increased the overall parsing speed (cox)
- Added free() method (schst
- Added reset() method, that is called when parsing a document so it is possible to parse more than one document per instance (schst)
- Added error codes (schst)
- revamped documentation (cox, schst)
- Fixed bug #516 (url fopen and safe mode) (schst)
- Fixed bug #637 (dependency on PEAR) (schst)
- improved parse() and parseString() to be able to parse more than one document (schst)
- added PHP5 constructor (schst)
- moved xml_parser_create() to _create() for PHP5 compatibility (schst)
- added dependency on PHP 4.2

Thanks to Marshall Roch for commments and contributions and Tomas V.V. Cox
for applying a lot of fixes and improvements.</notes>
  </release>
  <release>
   <version>
    <release>1.1.0</release>
    <api>1.1.0</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <date>2004-04-23</date>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>- Fixed memory leaks parsing many documents or big files (mroch)
- Fixed setInput() url detection regex (mroch)
- Added setInputString() method, allowing strings to be passed as input (schst)
- Error handling rewritten (cox)
- Increased the overall parsing speed (cox)
- Added free() method (schst
- Added reset() method, that is called when parsing a document so it is possible to parse more than one document per instance (schst)
- Added error codes (schst)
- revamped documentation (cox, schst)
- Fixed bug #516 (url fopen and safe mode) (schst)
- Fixed bug #637 (dependency on PEAR) (schst)
- improved parse() and parseString() to be able to parse more than one document (schst)
- added PHP5 constructor (schst)
- moved xml_parser_create() to _create() for PHP5 compatibility (schst)
- added dependency on PHP 4.2

Thanks to Marshall Roch for commments and contributions and Tomas V.V. Cox
for applying a lot of fixes and improvements.</notes>
  </release>
  <release>
   <version>
    <release>1.2.0beta1</release>
    <api>1.2.0beta1</api>
   </version>
   <stability>
    <release>beta</release>
    <api>beta</api>
   </stability>
   <date>2004-05-17</date>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>added new class XML_Parser_Simple that provides a stack for the elements so the user only needs to implement one method to handle the tag and cdata.</notes>
  </release>
  <release>
   <version>
    <release>1.2.0beta2</release>
    <api>1.2.0beta2</api>
   </version>
   <stability>
    <release>beta</release>
    <api>beta</api>
   </stability>
   <date>2004-05-24</date>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>XML_Parser:
- fixed bug with setMode()
- moved the init routines for the handlers in _initHandlers()
XML_Parser_Simple:
- fixed bug with character data (did not get parsed)
- fixed bug with setMode()
- some refactoring
- added getCurrentDepth() to retrieve the tag depth
- added addToData()
- added new example</notes>
  </release>
  <release>
   <version>
    <release>1.2.0beta3</release>
    <api>1.2.0beta3</api>
   </version>
   <stability>
    <release>beta</release>
    <api>beta</api>
   </stability>
   <date>2004-05-25</date>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>- added setHandlerObj() which allows you to have the parser separate from the handler methods</notes>
  </release>
  <release>
   <version>
    <release>1.2.0</release>
    <api>1.2.0</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <date>2004-05-28</date>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>- added setHandlerObj() which allows you to have the parser separate from the handler methods
- fixed bug with setMode()
- moved the init routines for the handlers in _initHandlers()
- added new examples
- fixed test files so they do not fail because of different resource ids
XML_Parser_Simple:
- added new class XML_Parser_Simple that provides a stack for the elements so the user only needs to implement one method to handle the tag and cdata.</notes>
  </release>
  <release>
   <version>
    <release>1.2.1</release>
    <api>1.2.1</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <date>2004-10-04</date>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>fixed bug #2442: Call to &quot;xmltag_ELEMENT_&quot; not correctly managed in function funcEndHandler</notes>
  </release>
  <release>
   <version>
    <release>1.2.2beta1</release>
    <api>1.2.2beta1</api>
   </version>
   <stability>
    <release>beta</release>
    <api>beta</api>
   </stability>
   <date>2004-12-22</date>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>- fixed small notice in XML_Parser::free(),
- fixed Bug #2939: bug in error routine leads to segmentation fault (raiseError does not free the internal resources anymore)</notes>
  </release>
  <release>
   <version>
    <release>1.2.2</release>
    <api>1.2.2</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <date>2004-12-22</date>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>- fixed small notice in XML_Parser::free(),
- fixed Bug #2939: bug in error routine leads to segmentation fault (raiseError does not free the internal resources anymore)</notes>
  </release>
  <release>
   <version>
    <release>1.2.3</release>
    <api>1.2.3</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <date>2005-01-17</date>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>- fixed a bug that occured when using &apos;func&apos; mode and setHandlerObj() (schst)
- added default handlers for &apos;func&apos; mode (schst)</notes>
  </release>
  <release>
   <version>
    <release>1.2.4</release>
    <api>1.2.4</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <date>2005-01-18</date>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>- fixed a bug in XML_Parser_Simple when trying to register more than the default handlers and a separate callback object (schst)</notes>
  </release>
  <release>
   <version>
    <release>1.2.5</release>
    <api>1.2.5</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <date>2005-02-26</date>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>- fixed Bug #3557 (removed $attribs parameter, which caused a notice)
- fixed Bug #3277 (remove obsolete ini_set(&apos;allow_url_fopen&apos;))</notes>
  </release>
  <release>
   <version>
    <release>1.2.6</release>
    <api>1.2.6</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <date>2005-03-25</date>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>- fixed Bug #3949: reset does not return true on success as the documentation states
- implement Request #3905: replace &quot;.&quot; with &quot;_&quot; in tagnames when using func mode</notes>
  </release>
  <release>
   <version>
    <release>1.2.7</release>
    <api>1.2.7</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <date>2005-09-24</date>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>- implemented request #4774: Error message contains column number</notes>
  </release>
  <release>
   <version>
    <release>1.2.8</release>
    <api>1.2.8</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <date>2006-12-01</date>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>- fixed bug #5557: Raise a more useful error message when using invalid source encoding
- fixed bug #6078: func-mode does not handle all allowed letters in tags</notes>
  </release>
  <release>
   <version>
    <release>1.3.0a1</release>
    <api>1.3.0a1</api>
   </version>
   <stability>
    <release>alpha</release>
    <api>alpha</api>
   </stability>
   <date>2008-08-24</date>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>- switch to BSD License
- switch to package.xml v2
- PEAR CS cleanup
- Fix Doc #13120:  Mistake in example code</notes>
  </release>
  <release>
   <version>
    <release>1.3.0</release>
    <api>1.3.0</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <date>2008-08-24</date>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>- switch to BSD License
- switch to package.xml v2
- PEAR CS cleanup
- Fix Doc #13120:  Mistake in example code</notes>
  </release>
  <release>
   <version>
    <release>1.3.1</release>
    <api>1.3.0</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <date>2008-09-15</date>
   <license uri="http://www.example.com">BSD License</license>
   <notes>- correct package.xml to reflect switch to BSD License</notes>
  </release>
  <release>
   <version>
    <release>1.3.2</release>
    <api>1.3.0</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <date>2009-01-21</date>
   <license uri="http://www.example.com">BSD License</license>
   <notes>- Fix Bug #9328: assigned by reference error in XML_RSS parse
- add an AllTests.php for PHPUnit usage</notes>
  </release>
 </changelog>
</package>