Rob Richards
032edbfb92
implement addChild() and addAttribute() methods
...
add test
2006-03-06 20:16:03 +00:00
Antony Dovgal
7df141811e
add test
2006-03-05 16:12:54 +00:00
Antony Dovgal
def2ab1ac1
MF51: fix #36611 (assignment to SimpleXML object attribute changes argument type to string)
2006-03-05 15:58:09 +00:00
Rob Richards
6c2c57e2bd
fix crash passing non-string member to sxe_prop_dim_exists
...
allow offsets to be used when calling isset/unset
fix tests
add test
2006-03-05 14:01:13 +00:00
Dmitry Stogov
c366cc6d1a
Nuke int32_t (everywhere except streams layer) and signed/unsigned warnings
2006-03-02 13:12:45 +00:00
Rob Richards
96cb8329e5
nuke tests for libxml2 version - will always be > 2.6.0
2006-03-01 15:36:34 +00:00
Marcus Boerger
10a5901abf
- Fix count/foreach interaction
2006-02-27 13:32:25 +00:00
Marcus Boerger
d8b7f1dea0
- MFB
2006-02-27 11:55:23 +00:00
Marcus Boerger
3dd6bb16aa
- Fix test
2006-02-26 16:40:01 +00:00
Marcus Boerger
30806dbc2b
- Missing conversion
2006-02-26 16:12:21 +00:00
Marcus Boerger
1dd351d649
- Use get_property_ptr_ptr handler to prevent SEGV as in bug #35785
...
# Issue not completley solved though
2006-02-26 15:48:28 +00:00
Marcus Boerger
24d83ebd0f
- Add another write case
2006-02-26 13:37:54 +00:00
Marcus Boerger
ebef7961a3
- Unicode support
2006-02-26 12:00:39 +00:00
Marcus Boerger
d1f3c48041
- Added ability to add elements by index if such elements already exist
...
- Added SimpleXMLElement::getName() to access the node name
# This allows to retrieve the name of the root element which is otherwise
# only available by converting the sxe object into a dom object.
2006-02-25 23:41:06 +00:00
Marcus Boerger
b13105ee4c
- Add ability to add new nodes via properties
2006-02-24 15:49:13 +00:00
Dmitry Stogov
0f1209ab3d
Portable unicode string API:
...
- use the same type (int) for zval.value.usr.len and zval.value.str.len
- use union "zstr" as char*/UChar* mixture instead of void*
- Z_UNISTR() and Z_UNILEN() no longer check for Z_TYPE()
- nuke int32_t from ZE (not finisned)
2006-02-21 20:12:43 +00:00
Dmitry Stogov
09ca61c125
Made server wide switch for unicode on/off (according to PDM).
2006-02-13 10:23:59 +00:00
Antony Dovgal
d163171c17
MF51: initialize variables
2006-02-06 10:54:49 +00:00
Marcus Boerger
c67d8b2152
- Iterator API was changed
2006-02-05 23:31:47 +00:00
Dmitry Stogov
227295a4f1
Unicode stuff is changed according to decision maden on PDM.
...
Now IS_BINRAY data type is removed and IS_STRING starts behave as IS_BINARY in unicode mode. IS_STRING is incompatible with IS_UNICODE, so ALL functions should be improved to support unicode mode.
2006-01-17 12:18:53 +00:00
foobar
251c5173fd
bump year and license version
2006-01-01 13:10:10 +00:00
Marcus Boerger
1edb0395ab
- Fixed Bug #35785 (SimpleXML memory read error)
2005-12-23 20:31:39 +00:00
Marcus Boerger
69ae0635f4
- Add new test
2005-12-23 20:26:22 +00:00
Antony Dovgal
632e571642
MFB: add missing skipif conditions, fix existing ones
...
add one missing test
2005-12-21 11:43:24 +00:00
Dmitry Stogov
8010c59c88
Unicode support
2005-12-07 16:52:13 +00:00
foobar
a208d9a966
- Nuke php3 legacy
2005-12-06 02:28:26 +00:00
Marcus Boerger
a71b5970d5
- Fix tests
2005-11-30 08:14:49 +00:00
Marcus Boerger
d237f996f9
- Fix some memleaks
2005-11-29 02:46:19 +00:00
Marcus Boerger
2bb59717c7
- Allow test to be used w/o run-tests.php
2005-11-29 02:41:54 +00:00
Marcus Boerger
ba03c4fcc3
- Synch test name
2005-11-24 20:27:27 +00:00
Marcus Boerger
29e64a2fc8
- Extend SimpleXmlElement::__construct() with two parameters
...
. int options: pass options to 2.6.0+ parsing functions
. bool data_is_url: whether first parameter is a url rather then xml data
- Fix parameter parsing
2005-11-20 13:03:15 +00:00
Rasmus Lerdorf
65bb007a3e
MFB - This isn't a DOM thing anymore, just libxml
2005-11-05 22:41:09 +00:00
Rob Richards
8de7ff8c91
optimize sxe_add_registered_namespaces
...
add only first encountered prefixes to namespace arrays
update test
2005-11-01 23:21:29 +00:00
Marcus Boerger
78456eb9a2
- Test no namespace case, too
2005-11-01 11:55:13 +00:00
Marcus Boerger
9956744821
- Handle default namespaces
...
# Another time it shows xml is far from being simple
2005-11-01 11:53:14 +00:00
Marcus Boerger
6b4a4afe8c
- Implement count interface
2005-10-31 20:06:28 +00:00
Rob Richards
9c982bb62c
check node type before accessing ns - prevent corruption under compact mode
2005-10-31 19:51:40 +00:00
Marcus Boerger
1b7db10076
- We don't need those
2005-10-31 19:47:00 +00:00
Marcus Boerger
2aadbbfca6
- Add functions to check for registered/in use namespaces
2005-10-31 19:09:13 +00:00
Marcus Boerger
a415bcc5d9
- Bugfix #35028 XML object fails FALSE test
2005-10-30 20:37:22 +00:00
Marcus Boerger
82aa412cf8
- Fix unicode expectations
2005-10-30 14:00:45 +00:00
Marcus Boerger
e1ce1262ce
- Add new test
2005-10-30 13:01:01 +00:00
Marcus Boerger
b4ad6bbc82
- Protect against some edge case that is currently imossible, but will be
2005-10-30 00:38:39 +00:00
Marcus Boerger
378d5b764f
- Simplify & speedup, once more
2005-10-30 00:35:55 +00:00
Marcus Boerger
b5c08eab91
- Simplify & speedup
2005-10-30 00:20:35 +00:00
Marcus Boerger
29be6e9b51
- Fix attribute handling when using xpath expressions that lead to attributes
2005-10-29 21:16:17 +00:00
Marcus Boerger
b4762f13f1
- Change var_dump to include all that is reachable, incl. @attributes
...
- Adapt tests and add new one
2005-10-29 16:12:57 +00:00
Marcus Boerger
f7459bad30
- Fix issue with entities in attributes
2005-10-23 23:41:20 +00:00
Marcus Boerger
d78da85370
- Add new test
2005-10-23 23:25:46 +00:00
Dmitry Stogov
362f3fd7ea
Fixed compilation error
2005-10-06 06:27:27 +00:00