Marcus Boerger
8f4e9d9e42
Enable inherited classes inside SPL and respect order of module init.
2004-01-18 15:16:26 +00:00
Marcus Boerger
9d5ef0070f
Export access to class_entry by function.
2004-01-18 13:19:41 +00:00
Sterling Hughes
cb7e90119f
namespace accesses are now soley URI based as opposed to prefix based.
2004-01-17 21:22:26 +00:00
Marcus Boerger
9e29f17493
Major bugfix for consistency.
...
# After long discussions we came to a conclusion on how to make this
# extension consistent in itself.
# Thanks to Rob for all the work
2004-01-17 19:41:32 +00:00
Marcus Boerger
665a834a76
Fix parameter list and protos
2004-01-17 16:36:04 +00:00
Marcus Boerger
9df72efb7c
Make inherited sxe classes work
2004-01-17 15:56:29 +00:00
Marcus Boerger
43b0a9e96b
Drop userspace iteration correctly.
...
# People if you do such things then please fix the class tree.
2004-01-15 09:28:01 +00:00
Marcus Boerger
6915f5a2f5
This is no longer usefull in any way.
2004-01-14 22:07:28 +00:00
Rob Richards
8a40a946de
test user define namespace aliases
2004-01-14 19:00:16 +00:00
Rob Richards
ad47abf0f6
add support for $foo["a:bar"]
...
fix xsearch to only return values for text,element and attribute nodes
fix getChildren and return array
remove most methods
update test
2004-01-13 21:28:41 +00:00
Marcus Boerger
fffdd96865
- Cleanup class_entry
...
- allow derived classes
- fix new SimpleXML_Element()
2004-01-10 13:25:31 +00:00
Sterling Hughes
5ca7c382c9
Remove these initializers as they are unused.
2004-01-09 06:12:29 +00:00
Sterling Hughes
406c2156d1
Fix dumping, when dumping a text element, for example:
...
<?php
$doc = simplexml_load_string('<?xml version="1.0"?>
<namelist>
<name>
<first>helly</first>
</name>
<name>
<first>sterling</first>
</name>
</namelist>');
var_dump($doc->name[0]->first);
Used to not display the node's content, now it does.
2004-01-08 22:40:08 +00:00
Marcus Boerger
526c6bd09c
Fix windows build issue
2004-01-08 20:27:35 +00:00
Marcus Boerger
fb38ee26a4
Cannot use shared SPL
2004-01-08 19:30:37 +00:00
Andi Gutmans
dbeb4158d2
- A belated happy holidays and PHP 5
2004-01-08 08:18:22 +00:00
Dmitry Stogov
eb973da1d3
two new methods were added
...
$node->count($subnode_name) - returns count of subnodes with specified name
$node->attributes() - returns array of attributes
2003-12-18 13:28:00 +00:00
Dmitry Stogov
4fd476ee43
accessing singular subnode as array
2003-12-17 15:06:40 +00:00
Rob Richards
094861db8c
free nodes correctly to clear node proxies
2003-12-17 10:28:29 +00:00
Marcus Boerger
a08a37dda3
Better comment
2003-12-16 20:40:24 +00:00
Marcus Boerger
4dd4bcdbb5
Add error handling for element/attribute creation/changing
2003-12-16 20:34:19 +00:00
Ilia Alshanetsky
bf36e351ba
Removed duplicate php_libxml_(init|shutdown) they are already done by
...
ext/libxml.
2003-12-16 17:14:06 +00:00
foobar
63df219b31
- Update header + added missing Id tags.
2003-12-09 16:29:54 +00:00
Wez Furlong
a98892900b
allow $node['not_yet_existing_attribute'] = $value; to work
2003-12-07 11:32:40 +00:00
Marcus Boerger
fd7b38d752
Fix return value.
2003-11-29 18:16:03 +00:00
Marcus Boerger
68e218e85c
Remove test code
2003-11-29 17:48:44 +00:00
Rob Richards
be974aff6e
Fix bug #26159 - SimpleXML XPath support (patch by Adam Trachtenberg)
...
a few fixes to memory corruption
2003-11-24 11:24:40 +00:00
Marcus Boerger
fc117add30
Several improvements to the simplexml_element object:
...
- Allow to use it as an instance of Iterator
- Prepareto use it as a normal object, including spcialization
2003-11-23 16:20:58 +00:00
Marcus Boerger
86676d4d12
Adjust to latest conversion cast changes
2003-11-14 07:41:05 +00:00
Marcus Boerger
2b35596d7f
Fix classname, CDATA handling (semantically identical to text) and
...
iterators (Return sub elements as objects, converted to string you get
the text).
2003-11-13 20:32:38 +00:00
Marcus Boerger
bfb73676de
Split into element=property and attribute=dimension overloading.
2003-11-10 20:27:16 +00:00
Ilia Alshanetsky
f884a5b437
Kill unused variables.
2003-11-05 23:44:09 +00:00
Sterling Hughes
040d945fb7
make this macro safe
2003-11-03 13:55:19 +00:00
Sterling Hughes
6ab221b3f6
remove attributes from this check
2003-11-03 13:50:43 +00:00
Sterling Hughes
e963f0b168
- Stop a crash in xpath
...
- Remove the ability to access attributes via the -> operator, attributes
are accessed via the array indicators
2003-11-03 13:36:23 +00:00
Moriyoshi Koizumi
9547ac2dde
Oops.
2003-10-29 18:04:24 +00:00
Moriyoshi Koizumi
734254513c
Do not use convert_to_*_ex() for ordinary zval pointers.
2003-10-29 17:50:56 +00:00
Marcus Boerger
6b57bb1675
Add simplexml array handlers that allow to explicitly work with attributes.
2003-10-29 12:06:52 +00:00
Rob Richards
a807b34427
cannot import nodes without document
2003-10-27 01:12:53 +00:00
Rob Richards
5191cd3e99
add interop with dom - simplexml_import_dom
...
change write behavior on elements to change actual contents
change clone method to clone node and not document
fix a few libxml mem leaks
2003-10-26 16:00:58 +00:00
Marcus Boerger
14911a136f
Fix memory corruption
2003-10-26 13:27:03 +00:00
Marcus Boerger
6131454cca
Add iterator to make foreach work
2003-10-26 13:11:56 +00:00
Marcus Boerger
869ce07c96
And get the last thing working
2003-10-26 01:17:51 +00:00
Marcus Boerger
0d95b23a51
Fix casting (the question is when & what should be freed here).
2003-10-26 00:39:48 +00:00
Marcus Boerger
07d94c2410
Fix test 4 with the help of Rob
2003-10-25 23:06:23 +00:00
Marcus Boerger
46251fa3f8
Show if Schemas are supported
2003-10-25 21:28:01 +00:00
Marcus Boerger
873bcefa52
Fix memleaks
2003-10-25 21:08:33 +00:00
Marcus Boerger
0a68fb0222
Fix warning
2003-10-25 20:28:39 +00:00
Shane Caraveo
052f9378b2
add global init/shutdown functions for libxml. this is required as
...
shutdown is not safe to call multiple times, and to make streams work
correctly some init stuff has to happen in a specific order
2003-10-19 23:17:56 +00:00
Zeev Suraski
2cc9511cc7
Fix cast callbacks
2003-10-07 15:47:25 +00:00