Commit Graph

48 Commits

Author SHA1 Message Date
foobar
251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
Rob Richards
046b0daf15 Fixed bug #35447 (xml_parse_into_struct() chokes on the UTF-8 BOM)
add test
2005-12-19 14:16:10 +00:00
Rob Richards
5466fe38ed use spprintf where appropriate 2005-10-12 13:57:14 +00:00
Rob Richards
9c9d49379f Fixed Bug #27908 (xml default_handlers not being called)
Fix memleak when entitydecls are parsed
remove old ifdefs
2005-10-12 03:20:13 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
Rob Richards
0cbcd08e7c SystemID and publicID params reversed in declaration handlers 2005-07-31 17:14:13 +00:00
foobar
a8b29a2e8f - Made it possible to build ext/xmlrpc with libxml2 2005-03-26 03:13:58 +00:00
Rob Richards
bd5e6e6232 Fixed bug #32001 (xml_parse_into_struct() exceeds maximum execution time) 2005-03-02 18:13:34 +00:00
Joe Orton
4f4cb65300 Declare error_mapping array as static and more const. 2005-02-17 15:05:16 +00:00
Rob Richards
b462fc8bd2 Fixed bug #31139 (XML Parser Functions seem to drop & when parsing) 2004-12-17 12:20:50 +00:00
Rob Richards
a7cd9768d1 internal entities get expanded if no default handler but cdata handler exists 2004-11-21 14:25:15 +00:00
Rob Richards
83a6b8c762 Fixed bug #30061 (xml_set_start_namespace_decl_handler not called)
hopefully resolve a bunch of entity issues
2004-11-18 19:59:23 +00:00
Rob Richards
1e0212ef8e Fixed bug #30832 ("!" stripped off comments in xml parser)
reset sax->initialized flag when not using SAX2
2004-11-18 18:26:13 +00:00
Rob Richards
2496f4f882 fix SAX2 handling to work with libxml 2.6.16 2004-11-18 16:36:00 +00:00
Rob Richards
db2c5275a1 Fixed bug #30566 (attribute namespace URIs are inconsistent when parsing). 2004-11-13 14:32:44 +00:00
Christian Stocker
5950725144 fix for bug #29657 xml_* functions throw non descriptive error, compared to php4
fix for bug #29711 libxml and non iso-8859-1.
If no encoding specified, it defaults to UTF-8 now
2004-08-19 12:18:25 +00:00
Rob Richards
e32f012e65 Fix bug #27821 xml_parse segfaults when xml_set_object called from class method
fix memleaks in compat.c
2004-04-07 16:24:17 +00:00
Rob Richards
f5dbafafed fix win32 compile with libxml 2.6
fix mem leaks
2004-02-24 12:03:32 +00:00
Christian Stocker
0c7143efe9 - mixed up name and value... fixed 2004-02-23 15:54:45 +00:00
Christian Stocker
0c942d06e6 fix attribute handling in combination with sax2 2004-02-23 15:43:49 +00:00
Christian Stocker
830d453a2f remove compiler warnings 2004-02-23 09:19:25 +00:00
Christian Stocker
2f310c3e4f - make it compile with libxml2 2.5 again
- disable xml_parser_create_ns with libxml2 2.5 for the time being
- the #if s can be removed, once we insist on libxml2 2.6
2004-02-23 08:21:07 +00:00
Christian Stocker
2343df52d2 Fix broken Namespace support, use libxml2 namespace methods instead of
homebrown solution:
- default namespaces are recognized
- different namespaces with same prefix in different nodes are treated correctly
- libxml2 parser warnings are not errors anymore
2004-02-22 17:51:01 +00:00
Andi Gutmans
dbeb4158d2 - A belated happy holidays and PHP 5 2004-01-08 08:18:22 +00:00
Wez Furlong
06f448cf61 Export expat compat functions.
"Implement" XML_GetCurrentByteCount(); probably not 100%
correct, but the only usage of it is by xmlrpc extension when
reporting an error; it should be safe.
2003-12-19 16:57:36 +00:00
Moriyoshi Koizumi
657b7e08d0 xmlCtxtSetOptions() isn't available in the versions up to 2.6.x
# Thanks Rob
2003-12-05 10:53:59 +00:00
Moriyoshi Koizumi
50dad38cd4 Fix libexpat build.
Improve replaceEntities patch.
2003-12-05 10:11:06 +00:00
Ilia Alshanetsky
ce0b3dec4c Fixed bug #26528 (HTML entities are not being decoded by
xml_parse()/xml_parse_into_struct()).
2003-12-05 01:16:16 +00:00
Moriyoshi Koizumi
4b439176da Partial fix for bug #25803 (xml_get_current_byte_index() always returns 0) 2003-11-24 06:04:39 +00:00
Rob Richards
5fa23c593b fix for bug #25666 (XML namespaces broken in PHP5) 2003-09-29 11:35:39 +00:00
Hartmut Holzgraefe
075e66cc08 signed/unsigned compiler warning fixes 2003-09-26 08:09:56 +00:00
Wez Furlong
21329c5e0c allow building without libxml2 under win32 2003-08-22 15:04:29 +00:00
Sterling Hughes
681d6bfaeb fix libxml2 when dealing with character data 2003-06-29 18:26:23 +00:00
Sterling Hughes
a8eba3cc80 some friendly names... 2003-06-26 04:08:54 +00:00
Rob Richards
19a9489cb6 remove leftover parser->mem_hdlrs - compiles now 2003-06-15 20:56:48 +00:00
Moriyoshi Koizumi
f9b194f609 Removed xmlMemSetup() code as it doesn't help at all. 2003-06-15 20:40:45 +00:00
James Cox
f68c7ff249 updating license information in the headers. 2003-06-10 20:04:29 +00:00
Sterling Hughes
d844c2841d rename namespace to use_namespace to avoid a c++ keyword conflict
fix whitespace surrounding the enums, use tabs please :)
2003-05-22 03:29:05 +00:00
Sterling Hughes
4cf3e8f3ee use libxml2 memory management throughout the file, which in turn uses the
PHP memory management.
2003-05-19 21:53:33 +00:00
Sterling Hughes
29eb399773 send some more data to the default handler
libxml2 is braindead when it comes to handling entities
2003-05-19 21:51:57 +00:00
Sterling Hughes
00e48b7f70 send comments to the default handler like done with expat, add a
setcommenthandler function, which exists in expat, but isn't used by the
extension.
2003-05-17 22:09:58 +00:00
Moriyoshi Koizumi
b67f2dc98d Allow libxml to detect the document encoding if encoding parameter passed to
XML_ParserCreate_MM is null.
2003-05-16 23:21:48 +00:00
Moriyoshi Koizumi
02c9b14ca2 Filled error_mappings[] with placeholders for actual error messages 2003-05-07 20:53:23 +00:00
Moriyoshi Koizumi
891bd02e10 Added missing object initialisation
Added missing sanity checks
2003-05-07 20:06:42 +00:00
Moriyoshi Koizumi
cced1b26ec Fixed typos 2003-05-07 19:52:30 +00:00
Moriyoshi Koizumi
8c539518fb This should be needed. 2003-05-07 15:28:58 +00:00
Moriyoshi Koizumi
21661d3bde Added even better allocator codes for both expat & libxml 2003-05-07 15:21:31 +00:00
Sterling Hughes
a0351b093f Bundle libxml and add compatibility layer 2003-05-06 19:38:49 +00:00