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
4ee7ba05bc
Drop the external xml files no longer needed
2004-01-17 17:34:22 +00:00
Marcus Boerger
c28af3a660
No external xml files
2004-01-17 17:33:10 +00:00
Marcus Boerger
253c97fbfe
Don't use external xml files
2004-01-17 17:24:58 +00:00
Sterling Hughes
d022278068
remove the parser errors here, so they accurately reflect what should happen.
2004-01-17 16:39:52 +00:00
Marcus Boerger
665a834a76
Fix parameter list and protos
2004-01-17 16:36:04 +00:00
Marcus Boerger
9c2e37e89a
Add test for inherited simplexml classes
2004-01-17 15:57:06 +00:00
Marcus Boerger
9df72efb7c
Make inherited sxe classes work
2004-01-17 15:56:29 +00:00
foobar
f4983c0d3f
- Renamed all *php4* files to *php5*, changed all php4/PHP4 to php5/PHP5
2004-01-17 13:00:38 +00:00
Sterling Hughes
a895106606
update the profile of how namespaces should work after discussions with
...
shane and rob richards. there were a lot of race conditions with regards
to the way namespaces have been handled in XML documents so far, this new
method removes the race conditions, and gives me a real reason to add the
children() and attributes() methods.
2004-01-16 22:26:09 +00:00
Sterling Hughes
7f5b508f26
Add a "profile" of simplexml's expected behaviour in the form of tests.
...
This will be expanded as issues arise and will be a formal definition
(in code) of simplexml's behaviour.
2004-01-16 20:50: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
cc5773e775
Update attribute tests.
...
# There is a memory leak with += when accessing the attributes directly
# But yet ->elem[$n] is not fails in the engine
2004-01-10 13:45:10 +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
Wez Furlong
510dd7cca5
add optional dep on spl for simplexml.
...
Fix dep handling in buildconf
2004-01-08 21:53:48 +00:00
Marcus Boerger
3fc4dc44ae
Add some minimalistic documentation
2004-01-08 21:14:38 +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
foobar
ccfc46b0aa
- Happy new year and PHP 5 for rest of the files too..
...
# Should the LICENSE and Zend/LICENSE dates be updated too?
2004-01-08 17:33:29 +00:00
Andi Gutmans
dbeb4158d2
- A belated happy holidays and PHP 5
2004-01-08 08:18:22 +00:00
Marcus Boerger
b89ce361fc
Fix test
2003-12-22 23:15:34 +00:00
Wez Furlong
3b450ec431
Add dependencies for these extensions
2003-12-22 13:16:43 +00:00
Marcus Boerger
b766beaac9
Update tests to see where they fail now exactly
2003-12-18 13:35:39 +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
Dmitry Stogov
1292337356
*** empty log message ***
2003-12-17 14:49:10 +00:00
Rob Richards
094861db8c
free nodes correctly to clear node proxies
2003-12-17 10:28:29 +00:00
Marcus Boerger
9e29f2dfcf
Not needed here (copy'n'paste)
2003-12-16 21:02:54 +00:00
Marcus Boerger
5b712c890c
Add a test to check split text content collecting
2003-12-16 20:50:20 +00:00
Marcus Boerger
a08a37dda3
Better comment
2003-12-16 20:40:24 +00:00
Marcus Boerger
1f60a44563
Add myself
2003-12-16 20:36:46 +00:00
Marcus Boerger
4dd4bcdbb5
Add error handling for element/attribute creation/changing
2003-12-16 20:34:19 +00:00
Marcus Boerger
7ef8b1226e
Add test for string conversion capabilities when used with echo/print.
2003-12-16 19:49:33 +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
Rob Richards
c821c5b189
export libxml2 and iconv symbols
...
extensions no longer link against either of those
2003-12-08 12:56:47 +00:00
Wez Furlong
a98892900b
allow $node['not_yet_existing_attribute'] = $value; to work
2003-12-07 11:32:40 +00:00
Wez Furlong
08218f5082
Tweak xml related build.
...
Still some warnings for ext/xsl, but I'll leave that to someone else for now.
2003-12-05 21:16:47 +00:00
Marcus Boerger
5ee54820de
Update test
2003-12-05 08:07:14 +00:00
Wez Furlong
05b9b20ed8
Add new (optional!) win32 build infrastructure.
...
Will follow up to internals@ shortly.
2003-12-02 23:17:04 +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
a7a9ec079a
Add new test
2003-11-23 16:22:11 +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