File: package.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 (318 lines) | stat: -rw-r--r-- 12,412 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
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE package SYSTEM "http://pear.php.net/dtd/package-1.0">
<package version="1.0" packagerversion="1.7.2">
 <name>XML_Parser</name>
 <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>
 <maintainers>
  <maintainer>
   <user>schst</user>
   <name>Stephan Schmidt</name>
   <email>schst@php-tools.net</email>
   <role>lead</role>
  </maintainer>
  <maintainer>
   <user>ssb</user>
   <name>Stig S&amp;#230;ther Bakken</name>
   <email>stig@php.net</email>
   <role>developer</role>
  </maintainer>
  <maintainer>
   <user>cox</user>
   <name>Tomas V.V.Cox</name>
   <email>cox@php.net</email>
   <role>developer</role>
  </maintainer>
  <maintainer>
   <user>ashnazg</user>
   <name>Chuck Burgess</name>
   <email>ashnazg@php.net</email>
   <role>lead</role>
  </maintainer>
  </maintainers>
 <release>
  <version>1.3.2</version>
  <date>2009-01-21</date>
  <license>BSD License</license>
  <state>stable</state>
  <notes>- Fix Bug #9328: assigned by reference error in XML_RSS parse
- add an AllTests.php for PHPUnit usage
  </notes>
  <deps>
   <dep type="php" rel="ge" version="4.2.0" optional="no"/>
   <dep type="pkg" rel="has" optional="no">PEAR</dep>
  </deps>
  <filelist>
   <file role="doc" baseinstalldir="XML" name="examples/xml_parser_file.php"/>
   <file role="doc" baseinstalldir="XML" name="examples/xml_parser_file.xml"/>
   <file role="doc" baseinstalldir="XML" name="examples/xml_parser_funcmode.php"/>
   <file role="doc" baseinstalldir="XML" name="examples/xml_parser_handler.php"/>
   <file role="doc" baseinstalldir="XML" name="examples/xml_parser_simple1.php"/>
   <file role="doc" baseinstalldir="XML" name="examples/xml_parser_simple1.xml"/>
   <file role="doc" baseinstalldir="XML" name="examples/xml_parser_simple2.php"/>
   <file role="doc" baseinstalldir="XML" name="examples/xml_parser_simple2.xml"/>
   <file role="doc" baseinstalldir="XML" name="examples/xml_parser_simple_handler.php"/>
   <file role="php" baseinstalldir="XML" name="Parser/Simple.php"/>
   <file role="test" baseinstalldir="XML" name="tests/001.phpt"/>
   <file role="test" baseinstalldir="XML" name="tests/002.phpt"/>
   <file role="test" baseinstalldir="XML" name="tests/003.phpt"/>
   <file role="test" baseinstalldir="XML" name="tests/004.phpt"/>
   <file role="test" baseinstalldir="XML" name="tests/005.phpt"/>
   <file role="test" baseinstalldir="XML" name="tests/AllTests.php"/>
   <file role="test" baseinstalldir="XML" name="tests/bug-9328.phpt"/>
   <file role="test" baseinstalldir="XML" name="tests/test2.xml"/>
   <file role="test" baseinstalldir="XML" name="tests/test3.xml"/>
   <file role="php" baseinstalldir="XML" name="Parser.php"/>
  </filelist>
 </release>
 <changelog>
   <release>
    <version>1.1.0beta1</version>
    <date>2004-04-16</date>
    <license>PHP License</license>
    <state>beta</state>
    <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>1.1.0beta2</version>
    <date>2004-04-18</date>
    <license>PHP License</license>
    <state>beta</state>
    <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>1.1.0</version>
    <date>2004-04-23</date>
    <license>PHP License</license>
    <state>stable</state>
    <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>1.2.0beta1</version>
    <date>2004-05-17</date>
    <license>PHP License</license>
    <state>beta</state>
    <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>1.2.0beta2</version>
    <date>2004-05-24</date>
    <license>PHP License</license>
    <state>beta</state>
    <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>1.2.0beta3</version>
    <date>2004-05-25</date>
    <license>PHP License</license>
    <state>beta</state>
    <notes>- added setHandlerObj() which allows you to have the parser separate from the handler methods
    </notes>
   </release>
   <release>
    <version>1.2.0</version>
    <date>2004-05-28</date>
    <license>PHP License</license>
    <state>stable</state>
    <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>1.2.1</version>
    <date>2004-10-04</date>
    <license>PHP License</license>
    <state>stable</state>
    <notes>fixed bug #2442: Call to &quot;xmltag_ELEMENT_&quot; not correctly managed in function funcEndHandler
    </notes>
   </release>
   <release>
    <version>1.2.2beta1</version>
    <date>2004-12-22</date>
    <license>PHP License</license>
    <state>beta</state>
    <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>1.2.2</version>
    <date>2004-12-22</date>
    <license>PHP License</license>
    <state>stable</state>
    <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>1.2.3</version>
    <date>2005-01-17</date>
    <license>PHP License</license>
    <state>stable</state>
    <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>1.2.4</version>
    <date>2005-01-18</date>
    <license>PHP License</license>
    <state>stable</state>
    <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>1.2.5</version>
    <date>2005-02-26</date>
    <license>PHP License</license>
    <state>stable</state>
    <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>1.2.6</version>
    <date>2005-03-25</date>
    <license>PHP License</license>
    <state>stable</state>
    <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>1.2.7</version>
    <date>2005-09-24</date>
    <license>PHP License</license>
    <state>stable</state>
    <notes>- implemented request #4774: Error message contains column number
    </notes>
   </release>
   <release>
    <version>1.2.8</version>
    <date>2006-12-01</date>
    <license>PHP License</license>
    <state>stable</state>
    <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>1.3.0a1</version>
    <date>2008-08-24</date>
    <license>PHP License</license>
    <state>alpha</state>
    <notes>- switch to BSD License
- switch to package.xml v2
- PEAR CS cleanup
- Fix Doc #13120:  Mistake in example code
    </notes>
   </release>
   <release>
    <version>1.3.0</version>
    <date>2008-08-24</date>
    <license>PHP License</license>
    <state>stable</state>
    <notes>- switch to BSD License
- switch to package.xml v2
- PEAR CS cleanup
- Fix Doc #13120:  Mistake in example code
    </notes>
   </release>
   <release>
    <version>1.3.1</version>
    <date>2008-09-15</date>
    <license>BSD License</license>
    <state>stable</state>
    <notes>- correct package.xml to reflect switch to BSD License
    </notes>
   </release>
   <release>
    <version>1.3.2</version>
    <date>2009-01-21</date>
    <license>BSD License</license>
    <state>stable</state>
    <notes>- Fix Bug #9328: assigned by reference error in XML_RSS parse
- add an AllTests.php for PHPUnit usage
    </notes>
   </release>
 </changelog>
</package>