Rob Richards
dea7f49f70
MFH: fix bug #46047 (SimpleXML converts empty nodes into object with nested array)
...
add test
2008-09-11 14:21:33 +00:00
Rob Richards
dcda8d83dd
MFH: fix bug #46003 (isset on nonexisting node return unexpected results)
...
add test
2008-09-10 16:28:53 +00:00
Rob Richards
6d59a6d6b5
MFH: fix bug #45553 (Using XPath for attributes with a namespace does not work)
...
add test
2008-09-10 11:21:12 +00:00
Etienne Kneuss
c77ca4c34a
MFH: Fix error_handling usage in various extensions
2008-08-08 22:07:07 +00:00
Etienne Kneuss
003841e312
MFH: Move SXI::count to SXE::count and make it user-friendly
2008-07-09 21:27:28 +00:00
Felipe Pena
2675046a95
- Added arginfo
2008-06-27 15:46:44 +00:00
Pierre Joye
41976c7ab6
- do not enable an ext when a lib/header fails
...
- use MESSAGE in mysql*
- use correct CFLAGS for ext/libxml headers
2008-06-23 18:40:29 +00:00
Felipe Pena
8ee04f3452
- Added XFAIL
2008-06-23 14:04:08 +00:00
Ilia Alshanetsky
33cb218c93
When dumping entire document to file via asXml() don't lose the encoding
2008-05-23 15:46:13 +00:00
Etienne Kneuss
57b8e83945
MFH: Fix #44484 (define SimpleXMLElement::__toString())
2008-05-03 15:09:37 +00:00
Rob Richards
7c91532eac
MFH: fix bug #44478 (Inconsistent behaviour when assigning new nodes)
...
add test
2008-03-20 16:48:10 +00:00
Felipe Pena
2b10c53ae1
MFH: Dropped zend.ze1_compatibility_mode
...
[DOC]
2008-03-18 14:10:45 +00:00
Rasmus Lerdorf
3be17e4f66
count() before and after a simplexml array cast should be the same
2008-02-28 17:38:04 +00:00
Rob Richards
d1459b8554
MFH: fix bug #42369 (Implicit conversion to string leaks memory)
...
add test
2008-01-31 21:58:57 +00:00
Dmitry Stogov
58433c9b11
Fixed bug #43918 (Segmentation fault in garbage collector)
2008-01-29 09:59:42 +00:00
Antony Dovgal
d008f576b0
use expectF
2008-01-23 09:55:53 +00:00
Antony Dovgal
ff183efe61
fix test
2008-01-23 09:54:38 +00:00
Antony Dovgal
a5505302e4
fix leak appearing when appending data to unnamed attribute
2008-01-23 09:52:57 +00:00
Marcus Boerger
10a0f20652
- MFH Bugfix #37076 (SimpleXML ignores .=). (felipe, marcus)
2008-01-22 20:42:22 +00:00
Nuno Lopes
61eb7ae554
remove unused PHP_EXTNAME_API macros.
...
#in preparation for the gcc 4 visibility patch
2008-01-03 16:20:33 +00:00
Sebastian Bergmann
d1dded8751
MFH: Bump copyright year, 2 of 2.
2007-12-31 07:17:19 +00:00
Antony Dovgal
f5b1ee4b2b
MFH: fix folding
2007-11-30 13:15:59 +00:00
Rob Richards
5d10360d5a
MFH: fix bug #43221 (SimpleXML adding default namespace in addAttribute)
...
add test
2007-11-12 18:58:48 +00:00
Marcus Boerger
8ce1211a62
- MFH debug object helper
2007-10-11 01:03:19 +00:00
Yiduo (David) Wang
4b4d634cb9
MFH: Added macros for managing zval refcounts and is_ref statuses
2007-10-07 05:22:07 +00:00
Dmitry Stogov
6c810b0d4c
Improved memory usage by movig constants to read only memory. (Dmitry, Pierre)
2007-09-27 18:00:48 +00:00
Rob Richards
e0a2d149f5
MFH: fix bug #41833 (addChild() on a non-existent node, no node created, getName() segfaults)
2007-07-31 15:40:49 +00:00
Rob Richards
ce582024a5
MFH: fix possible crash
2007-07-31 15:07:54 +00:00
Rob Richards
796d9cd783
fix bug #41947 (SimpleXML incorrectly registers empty strings as namespaces
...
add test
2007-07-10 12:24:51 +00:00
Sara Golemon
1ac512f547
MFH (r-1.240)
...
Fix behavior of empty($sxe->element) and empty($sxe['prop'])
when used on empty elements properties (apply PHP emptiness rules)
2007-07-04 05:05:57 +00:00
Rob Richards
d6756845e8
fix bug #41861 (getNamespaces() returns namespaces of node's siblings)
...
add test
2007-07-03 14:55:53 +00:00
Rob Richards
4938221a36
fix bug #41867 (getName is broken)
...
add test
2007-07-02 11:35:18 +00:00
Nuno Lopes
7f47814c4e
fix memleak in sxe_prop_dim_read()
...
#found by coverity
2007-06-24 11:41:12 +00:00
Dmitry Stogov
f018ec9024
Fixed wrong fix for bug #41582
2007-06-13 13:38:26 +00:00
Johannes Schlüter
62849e3fee
- MFH: Fix test
2007-06-12 17:24:38 +00:00
Antony Dovgal
5d8ae45309
MFH: fix #41582 (SimpleXML crashes when accessing newly created element)
2007-06-05 10:03:12 +00:00
Antony Dovgal
1f65545121
fix test names
2007-05-07 18:03:01 +00:00
Ilia Alshanetsky
af7a7a4e36
Fixed error message to reflect the check
2007-04-24 14:11:28 +00:00
Ilia Alshanetsky
bc9f8f582c
Fixed bug #41175 (addAttribute() fails to add an attribute with an empty
...
value).
2007-04-24 13:54:59 +00:00
Rob Richards
b7c2eb3228
fix bug #37386 (autocreating element doesn't assign value to first node)
...
all single SimpleXMLElements are addressable using offset 0
use correct node for xpath context node
add test
2007-03-26 20:14:58 +00:00
Antony Dovgal
180baf0109
MFH: fix leak and errmsg
...
add test
2007-02-20 14:08:43 +00:00
Antony Dovgal
e7544f28b8
MFH: fix #38406 (crash when assigning objects to SimpleXML attributes)
2007-02-20 13:22:41 +00:00
Antony Dovgal
2c31b1e194
fix #40451 (addAttribute() may crash when used with non-existent child node)
2007-02-12 21:06:29 +00:00
Dmitry Stogov
7c750656f1
Fixed tests
2007-01-10 16:00:31 +00:00
Sebastian Bergmann
4223aa4d5e
MFH: Bump year.
2007-01-01 09:36:18 +00:00
Rob Richards
604f18c20d
fix bug #39760 (cloning fails on nested SimpleXML-Object)
...
add test
2006-12-30 15:41:17 +00:00
Rob Richards
4991dba418
fix tests
2006-12-08 17:55:58 +00:00
Antony Dovgal
4cc29fef5c
MFH
2006-11-29 22:53:26 +00:00
Rob Richards
d5d1801df7
correct fix for bug #39662 to fix leak and tree corruption
...
fix test
2006-11-29 08:51:36 +00:00
Antony Dovgal
d55eb93c94
MFH: fix #39662 (Segfault when calling asXML() of a cloned SimpleXMLElement)
2006-11-28 18:59:53 +00:00
Antony Dovgal
20fc2d4274
improve SKIPIF condition
2006-10-09 13:20:46 +00:00
Nuno Lopes
b772a83282
fix one more parameter (int*->int)
2006-09-06 15:31:48 +00:00
Rob Richards
a0c941aad1
fix bug #38424 (Different attribute assignment if new or existing)
...
add test
2006-08-14 11:57:50 +00:00
Rob Richards
ee82fb781a
should be RETURN_ not RETVAL_
2006-08-07 10:15:12 +00:00
Rob Richards
65ae8773b5
asXML() needs to return bool when serializing doc and filename is passed in
...
do not copy the content of the outputbuffer twice in asXML()
fix compiler warnings
2006-08-07 10:09:52 +00:00
Antony Dovgal
b9b1984646
fix test
2006-08-06 20:17:51 +00:00
Antony Dovgal
1a58ec5156
add test
2006-08-06 20:10:19 +00:00
Christian Stocker
42982ac3a1
Fix #38354 (Unwanted reformatting of XML when using AsXML)
2006-08-06 19:38:45 +00:00
Antony Dovgal
07b5c8fe2a
MFH: fix #38347 (Segmentation fault when using foreach with an unknown/empty SimpleXMLElement)
2006-08-06 17:41:51 +00:00
Antony Dovgal
218aa04f79
avoid extra strlen() call
2006-08-06 13:27:46 +00:00
Antony Dovgal
00bc797b68
fix test
2006-08-04 08:11:47 +00:00
Hannes Magnusson
aaa1d62614
MFH: fix/add SKIPIF
2006-06-27 00:09:43 +00:00
Hannes Magnusson
ae1ec65637
Added SimpleXMLElement::saveXML() as an alias for SimpleXMLElement::asXML()
2006-06-26 13:41:52 +00:00
Antony Dovgal
8df36aaf32
fix test
2006-06-20 13:06:50 +00:00
Rob Richards
d6a526d66b
restore missing ze1 compat code
2006-06-06 12:05:30 +00:00
Zeev Suraski
66b90c7052
Final ze1_compat restoration - it was mostly done by hand, so if anybody
...
spots any (new) problems, let me know. Test wise, the same tests that
failed before are failing now.
2006-06-05 16:53:21 +00:00
Marcus Boerger
200c627aeb
- MFH Sync with head (namespace prefix handling)
2006-05-23 22:24:44 +00:00
Marcus Boerger
64701cf42b
- MFH Bugfix #37565
2006-05-23 21:58:44 +00:00
Marcus Boerger
09b741ff47
- MFH Proto fix/add
2006-05-17 00:07:28 +00:00
Marcus Boerger
0dacd6d5c0
- ze1 cleanup (bjori) /thx
2006-05-10 19:41:34 +00:00
Marcus Boerger
77c1b56cd7
- Update after api changes
2006-05-10 00:00:13 +00:00
Marcus Boerger
011266f7e1
- MFH Fix properties access to children() result
2006-04-14 15:19:45 +00:00
Marcus Boerger
45b64e7a99
- Coverity issue 59
2006-04-10 23:23:09 +00:00
Antony Dovgal
0f510a6a95
#ifdef new functions and use their bodies to make PECL extensions compile with PHP < 5.1.3
...
(as was agreed with Ilia)
2006-04-03 14:59:30 +00:00
Antony Dovgal
59b8592c8c
fix bug #36898 (__set() leaks in classes extending internal ones)
...
Added:
ZEND_API void zend_object_std_init(zend_object *object, zend_class_entry *ce TSRMLS_DC)
ZEND_API void zend_object_std_dtor(zend_object *object TSRMLS_DC)
to initialize and destroy zend_object structs
2006-03-29 14:28:43 +00:00
Antony Dovgal
bf3a7e12e1
add new tests
2006-03-24 12:08:53 +00:00
Rob Richards
8dffbf217d
- Synch with head
2006-03-07 15:22:48 +00:00
Antony Dovgal
e43a77d84c
add test
2006-03-05 16:12:48 +00:00
Antony Dovgal
a9080d38f4
fix #36611 (assignment to SimpleXML object attribute changes argument type to string)
2006-03-05 15:36:03 +00:00
Rob Richards
84ad62553d
nuke tests for libxml2 version - will always be > 2.6.0
2006-03-01 15:37:45 +00:00
Marcus Boerger
c5d70528d7
- MFH Fix count/foreach interaction
2006-02-27 13:38:03 +00:00
Marcus Boerger
44d4ba478f
- Cleanup
2006-02-27 11:55:18 +00:00
Dmitry Stogov
cde6f6e0cc
Fixed memory leak
2006-02-27 07:12:14 +00:00
Marcus Boerger
4d442447f1
- Synch with head
2006-02-26 23:14:45 +00:00
Antony Dovgal
c353a52a11
initialize variables
2006-02-06 10:52:34 +00:00
foobar
5bd93221a8
bump year and license version
2006-01-01 12:51:34 +00:00
Marcus Boerger
9a6a266b16
- MFH Fixed Bug #35785 (SimpleXML memory read error)
2005-12-23 20:32:15 +00:00
Marcus Boerger
ad61a18a2e
- MFH Add new test
2005-12-23 20:26:41 +00:00
Antony Dovgal
c92ae847c7
add missing skipif conditions
...
fix existing ones
2005-12-21 11:42:06 +00:00
foobar
3e669bc950
MFH: nuke php3 legacy
2005-12-06 02:28:41 +00:00
Marcus Boerger
40a3cdd97b
- MFH
...
. Fix memleaks
. Add tests
. Add functions: getNamespaces(), getDocNamespaces()
. Fixed var_dump()
. Fixed bugs: #35028 XML object fails FALSE test
# This plan was decided before 5.1.0 came out with ilia and checked again
# just now. The extension currently shows no more memleaks or errors using
# the test suite.
2005-11-29 02:51:07 +00:00
Marcus Boerger
cfeb12ccf5
- MFH Fix parameter parsing
2005-11-20 13:05:15 +00:00
Rasmus Lerdorf
b03351633a
And simplexml doesn't need dom anymore to do the import
2005-11-05 22:37:18 +00:00
Marcus Boerger
9622ccface
- Drop unnecessary exports to prevent forward BC problems
2005-10-31 21:20:44 +00:00
Marcus Boerger
5460d2dad6
- Fix issue with entities in attributes
2005-10-24 08:29:36 +00:00
Marcus Boerger
308a64bc08
- MFH Really allow SXE being shared by not using anything from it directly in SPL
2005-10-03 16:05:08 +00:00
Marcus Boerger
69722777a0
- Allow xpl/simplexml integration with simplexml being built shared
2005-10-01 15:41:37 +00:00
Rob Richards
ab78a63357
MFH: make sxe_properties_get respect namespace scope
2005-08-31 17:00:46 +00:00
foobar
9477097564
MFH: Nuked EOLs from error messages
2005-08-18 13:34:41 +00:00
foobar
23e671a51e
- Bumber up year
2005-08-03 14:08:58 +00:00
Rasmus Lerdorf
3064cb787d
Missing closing folding marker
2005-07-07 03:53:47 +00:00
foobar
340bcffdf0
- Unify (+ spl can't be build shared so COMPILE_DL_SPL
2005-06-30 11:15:00 +00:00
foobar
78a5b7693c
Use the new dependency system
2005-06-17 11:35:22 +00:00
foobar
39bcbfc306
- Made the libxml related stuff to error out if someone does --disable-all
...
or --disable-libxml. Better than silently just leave the ext out..
2005-04-27 13:12:55 +00:00
Marcus Boerger
8de753f09e
- Add tests
2005-02-27 23:15:52 +00:00
Rob Richards
cb72e23c14
add optional parameter to pass libxml document load options
2004-12-05 12:02:35 +00:00
Rob Richards
a50166004d
remove cloning under ze1_compatibility_mode
...
- minor BC break but doesnt work right under compat mode anyways
2004-08-30 17:29:22 +00:00
Sara Golemon
b48af415cd
ZTS Fix
2004-08-06 16:36:00 +00:00
Ilia Alshanetsky
ee656c4b32
php_error() -> php_error_docref()
2004-08-05 23:57:51 +00:00
Antony Dovgal
58f9ed3a8e
nuke unused variable
2004-08-04 14:57:40 +00:00
Zeev Suraski
84e6f8f075
Fix prototypes
2004-08-04 14:41:56 +00:00
Christian Stocker
0936bfa42c
renamed registerNamespace() to registerXPathNamespace()
2004-07-25 14:59:21 +00:00
Christian Stocker
0b244def73
added new method SimpleXMLElement->registerNamespace(string prefix, string uri)
...
"registers a prefix <-> namespaceURI combination for use in a later xpath query. "
2004-07-25 11:02:43 +00:00
Wez Furlong
ed682e570a
Implement extension load-order deps.
2004-07-18 12:03:51 +00:00
Wez Furlong
263723ec9b
Update for count_elements handler for overloaded objects.
2004-05-04 15:03:48 +00:00
Marcus Boerger
b6321d4e8a
Fix class names
2004-03-29 19:58:01 +00:00
Marcus Boerger
f8ff2ccf20
Fix writing of SQLite and SimpleXMl extension and add Rob to the credits
...
line of the latter. Add ext/SPL.
2004-03-28 20:27:18 +00:00
George Schlossnagle
8b2a760004
added test for property_exists checks.
2004-03-24 15:20:32 +00:00
George Schlossnagle
b9c04fe19a
fixed non-existent elements check
...
ref: http://news.php.net/article.php?group=php.internals&article=8660
2004-03-24 05:04:26 +00:00
Stanislav Malyshev
5b0f6b1f34
Update for new read_property API
2004-03-21 18:28:38 +00:00
Derick Rethans
f66c62cef8
- Fixed compilation on the 'broken' IRIX native compiler.
2004-03-16 21:39:43 +00:00
Marcus Boerger
decc3fc6e6
Add new test
2004-03-14 15:33:15 +00:00
Marcus Boerger
6b0f57ee50
Rename hasMore() to valid() as discussed. (Part II)
2004-03-08 18:05:41 +00:00
Rob Richards
76ee5707f7
Fix bug #27436 dom_import_simplexml innaccurate
...
extensions register callbacks to export nodes
prevents segfault passing invalid objects to import functions
2004-03-01 12:09:24 +00:00
Rob Richards
16136dfe93
Fix bug #27237 : Working with simplexml crashes apache2
...
object dtor must be used to cleanup iterator data correctly
Fix asXML() outputing incorrect node
2004-02-13 15:05:18 +00:00
Frank M. Kromann
cf2c4b26bb
Adding mising declaration (needed for Win32 compilation)
2004-02-13 00:02:19 +00:00
Derick Rethans
cd4a39edf9
- Fixed start-up problem if both SPL and SimpleXML were enabled. The
...
double initialization of apache 1.3 was causing problems here.
2004-02-12 23:39:46 +00:00
Zeev Suraski
30171a7590
zend_default_classes.h -> zend_exceptions.h
2004-02-12 10:43:27 +00:00
Zeev Suraski
c8c0e97982
Prevent SimpleXML from silently modifying types of variables that are
...
assigned to its objects.
Implementation notes for overloaded object modules:
- If you return a zval which is not otherwise referenced by the extension
or the engine's symbol table, its reference count should be 0.
- If you receive a value zval in write_property/write_dimension, you
may only modify it if its reference count is 1. Otherwise, you must
create a copy of that zval before making any changes. You should NOT
modify the reference count of the value passed to you.
Have fun!
2004-02-11 19:15:30 +00:00
Rob Richards
5731108c55
Fix test
2004-02-11 13:00:19 +00:00
Rob Richards
6e4a4e8a9a
Fix compiler warnings
...
Update tests
2004-02-11 12:19:26 +00:00
Zeev Suraski
e8e9b2afee
Implement get callback for SimpleXML (it now supports pre/post increment
...
as well as binary-assign-ops)
2004-02-10 09:30:38 +00:00
Zeev Suraski
2a9e1294bc
Update to new API
2004-02-08 17:25:54 +00:00
Zeev Suraski
8424be849f
- Update with new destructor code
2004-02-04 11:14:47 +00:00
Marcus Boerger
dfad2955ee
Update tests
2004-02-03 22:07:29 +00:00
foobar
7ad385b109
CS fix (functions should not be available if they are not available :)
2004-02-02 08:10:31 +00:00
Marcus Boerger
95c15b024a
Add new test
2004-01-22 21:55:09 +00:00
Marcus Boerger
66ed0a49fa
Update tests
2004-01-22 21:47:54 +00:00
Rob Richards
bc2521b662
Fix bug #27010 : segfault after returning nodes with children()
...
Fix segfault in match_ns when matching prefix and node without ns
some general cleanup and code consilidation
better write handling - engine support dependent
better isset handling - engine support dependent
namespace fixes for reading/writing
2004-01-22 21:30:14 +00:00
Rob Richards
a4c2f31751
Fix namespace regression bug
...
Read attributes correctly
Update sxe_prop_dim_exists logic
Update profile
2004-01-21 14:04:47 +00:00
Rob Richards
500fa86c1b
Fix Bug #26976 (Can not access array elements using array indices)
...
return index 0 as non iterable object
update test
2004-01-21 11:32:30 +00:00
foobar
21d5052f70
typo fix
2004-01-21 03:18:13 +00:00
foobar
4716c724d2
test for bug #26976
2004-01-21 03:17:07 +00:00
foobar
bdd3b13c53
Goto targets should not be indented (some compilers choke on this, iirc)
2004-01-21 01:09:41 +00:00
Sterling Hughes
bd306c8b52
-
2004-01-20 05:31:50 +00:00
Frank M. Kromann
0d6fcd02cb
Fix compilation of simplexml when spl is build as shared object
2004-01-19 23:44:03 +00:00
Marcus Boerger
b0620b27be
Rename header to prevent name clashes with external files
2004-01-18 23:35:13 +00:00
Marcus Boerger
517c5f5fc5
Necessary as long as SPL is shared/dll
2004-01-18 22:20:54 +00:00
Marcus Boerger
913f5ce8ec
Fix Warning
2004-01-18 15:21:49 +00:00
Marcus Boerger
8f4e9d9e42
Enable inherited classes inside SPL and respect order of module init.
2004-01-18 15:16:26 +00:00
Marcus Boerger
bb678c07b5
Use external files only in 001.phpt & tests for bugs
2004-01-18 15:14:03 +00:00
Marcus Boerger
9d5ef0070f
Export access to class_entry by function.
2004-01-18 13:19:41 +00:00
Sterling Hughes
6bd7c45f74
update the tests proper-like
2004-01-17 21:47:43 +00:00
Sterling Hughes
594f6433af
update the examples
2004-01-17 21:44:22 +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
Derick Rethans
c74bb58721
- Fix typoes
2004-01-17 20:20:18 +00:00
Jon Parise
c303c352d0
Spell 'element' correctly.
2004-01-17 20:02:01 +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
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