Commit Graph

76 Commits

Author SHA1 Message Date
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
Moriyoshi Koizumi
506136f9c6 Forgot about this one 2003-10-06 01:04:49 +00:00
Moriyoshi Koizumi
503d74aa29 Fixed bug #25756 (SimpleXML's validate_schema_file() broken) 2003-10-06 01:02:28 +00:00
Zeev Suraski
c6c240a455 Sync with new API 2003-10-05 08:08:49 +00:00
Moriyoshi Koizumi
d7398813c3 A temporary voodoo hack to avoid memory leaks.
# Stuff of this kind must be removed if any neater way is out there.
2003-10-02 19:45:05 +00:00
Wez Furlong
21329c5e0c allow building without libxml2 under win32 2003-08-22 15:04:29 +00:00
Wez Furlong
9ada9e5767 fix build 2003-08-19 01:30:27 +00:00
Zeev Suraski
ed21ddd4f3 Fix a gazillion leaks in SimpleXML. One gazillion to go ;) 2003-08-18 22:33:15 +00:00
Zeev Suraski
1fb9d4896a WTF was that doing here? :)
Fix crash
2003-08-18 11:26:12 +00:00
Rob Richards
6fae803c12 fix bug #24957 (var_dump of object segfaults) 2003-08-07 21:39:00 +00:00
Zeev Suraski
538d58dd5f Use new infrastructure.
There are bound to be some messups, please report build/runtime bugs!
2003-08-03 17:44:39 +00:00
Zeev Suraski
785130c09c Fix interface 2003-07-23 08:53:23 +00:00
Zeev Suraski
d6320007e0 Add missing elements 2003-07-07 12:07:02 +00:00
foobar
f55b83cb18 ws + missing fold tag 2003-07-07 11:43:34 +00:00
Sterling Hughes
73d98824d7 not a temp var unless its a singular var 2003-07-05 00:33:13 +00:00
Sterling Hughes
e0347ab2c4 "real" fix 2003-07-04 22:21:23 +00:00
Sterling Hughes
2935efb446 fix memory cverrun when accessing an empty xml element.
guess how many lines it took me to write a basic WSDL parser + API?  20 using
curl + simplexml
2003-07-04 21:58:09 +00:00
Marcus Boerger
a6d0972c05 Fix warnings 2003-07-01 00:49:25 +00:00
Sterling Hughes
57e1c829aa and my first user doesn't even like goto's. sniffle 2003-06-30 03:11:03 +00:00
Sterling Hughes
2505cf7c2c satisfy my very first user :) 2003-06-30 03:08:48 +00:00
Rob Richards
a225934450 fix mem leak in sxe_property_read
fix compiler warning
2003-06-28 21:38:44 +00:00
Sterling Hughes
3e67c2a63a for now we let xml support build with versions older than 2.5.7, as we want
users to actually test this...
2003-06-28 07:46:03 +00:00
Sterling Hughes
a4f41fbb26 allow the root element to be accessed as a text node 2003-06-25 16:26:32 +00:00
Rob Richards
d1bfc58aee use xmlInitParser instead of xmlInitThreads
reentrant safe as well no need for xml_parser_inited
2003-06-14 18:15:50 +00:00
Rob Richards
09eb38ec10 interoperability support
fix some memleak scenarios
2003-06-14 15:32:23 +00:00
Sterling Hughes
e4db6159f2 make alan happy 2003-06-14 04:40:58 +00:00
Sterling Hughes
34b36fd50f delete + no C++ comments 2003-06-14 04:17:59 +00:00
Sterling Hughes
ec3823a5d2 fix some more leaks 2003-06-14 04:15:57 +00:00
Sterling Hughes
cc0c4e4981 This shouldn't be refcount = 0, causes a memory overrun 2003-06-14 04:02:12 +00:00
Rob Richards
785bc24a9b fix compile when ZTS enabled
fix bunch of memory leaks
2003-06-13 19:58:56 +00:00
Sterling Hughes
21d90d6ac4 ok, this is a zend bug. 2003-06-09 04:01:11 +00:00
Sterling Hughes
6fc9fdeefc simon says leaking is better than crashing 2003-06-09 03:29:33 +00:00
Sterling Hughes
568aecd973 get rid of a memleak
make namespaces work properly
2003-06-09 03:11:28 +00:00
Sterling Hughes
a148878752 god bless valgrind.
fix double free where object is prematurely dtor'd. I should probably convert
the simplexml nodes over to this system too.  Actually the new dom extension
and everywhere else should use the same type of methods.. :)
2003-06-03 19:36:20 +00:00
Sterling Hughes
0ecbdc55a1 earn my keep and allow one to register a namespace name to access a namespace
value.
2003-06-01 19:46:19 +00:00
Sterling Hughes
94136f0ccd fix __clone()
add schema support
2003-05-27 22:15:17 +00:00
Sterling Hughes
c60879dbb9 plane hacking 2003-05-27 18:41:02 +00:00
Sterling Hughes
afc2196715 add support for querying nodes with xpath expressions. 2003-05-26 03:57:41 +00:00