Commit Graph

107 Commits

Author SHA1 Message Date
Rob Richards
be79a1d605 fix bug #50661 (DOMDocument::loadXML does not allow UTF-16)
add test
2010-01-06 13:13:17 +00:00
Sebastian Bergmann
22f4ef45fe sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php 2010-01-03 09:23:27 +00:00
Rob Richards
44aea5ebbb fix bug #47848 (importNode doesn't preserve attribute namespaces)
add tests
2009-12-03 20:19:38 +00:00
Ilia Alshanetsky
aafa45d804 Fixed bug #48512 (DOMDocument::validate() fails with both a E_NOTICE and
E_WARN if no DTD)

# Will MFH to 5.3 after RC
2009-06-10 12:25:41 +00:00
Rob Richards
408a1746a1 fix bug #47849 (Non-deep import loses the namespace)
add test
2009-04-07 15:31:15 +00:00
Rob Richards
635f8bf9ab MFB: fix bug #47430 (Errors after writing to nodeValue parameter of an absent previousSibling)
add test
2009-03-13 13:43:57 +00:00
Marcus Boerger
d4f5b3f0a9 - This is PHP 6 - if this ... ever gets out 2009-03-10 23:40:06 +00:00
Rob Richards
aba50265bb fix bug #47220 (segfault in dom_document_parser in recovery mode) 2009-01-26 19:10:09 +00:00
Sebastian Bergmann
7f4dc8702a Bump copyright year, 3 of 3. 2008-12-31 11:12:40 +00:00
Etienne Kneuss
8251921307 Fix #46241 (stacked error_handlers, error_handling in general) 2008-11-19 01:59:07 +00:00
Felipe Pena
43791516db - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro (again!) 2008-11-17 11:26:25 +00:00
Felipe Pena
e006a89e71 - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:10:13 +00:00
Felipe Pena
7eb2715464 - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:34:17 +00:00
Rob Richards
9a17844924 fix bug #46191 (BC break: DOMDocument saveXML() doesn't accept null) 2008-09-28 11:59:54 +00:00
Antony Dovgal
e67e446a73 fix ws, cs and folding 2008-08-14 08:38:37 +00:00
Etienne Kneuss
b8aa44644d Fix error_handling usage in various extensions 2008-08-08 22:06:42 +00:00
Sebastian Bergmann
2b486e5833 Add missing Reflection API metadata for DOM classes. 2008-02-04 15:22:40 +00:00
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
Rob Richards
b73a36a64f Fix bug #43364 (recursive xincludes don't remove internal nodes properly) 2007-11-28 10:43:02 +00:00
Yiduo (David) Wang
95da0dc570 Added macros for managing zval refcounts and is_ref statuses 2007-10-07 05:15:07 +00:00
Dmitry Stogov
8146078f7b Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:28:44 +00:00
Dmitry Stogov
85279a4dce Allowed loading XML from unicode strings 2007-06-29 13:58:34 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Rob Richards
45364aea04 mark more functions unicode safe
add test
2006-12-08 16:49:25 +00:00
Hannes Magnusson
176b72284c Error message clean up
(patch by Matt W (php_lists -AT- realpain.com))
2006-10-08 13:34:24 +00:00
Ilia Alshanetsky
4ad5333dd5 MFB: Added missing safety checks (Problem identified by Coverity scan) 2006-10-07 19:41:10 +00:00
Rob Richards
19523f9a39 mark functions unicode compliant
add test
2006-10-05 11:59:43 +00:00
Ilia Alshanetsky
1d611c862c MFB: One last expand_filepath() check 2006-09-16 19:08:59 +00:00
Rob Richards
0ee28a454c implement output formatting for saveHTML with libxml 2.6.23+ 2006-08-28 19:31:51 +00:00
Rob Richards
4c98426979 unicode changes 2006-08-05 12:33:34 +00:00
Rob Richards
f85e695409 add unicode support
update test
2006-08-04 18:11:27 +00:00
Antony Dovgal
8fd8789c9a nuke unused variables and init variables when needed 2006-06-20 13:21:10 +00:00
Dmitry Stogov
09ca61c125 Made server wide switch for unicode on/off (according to PDM). 2006-02-13 10:23:59 +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
Rob Richards
406910e1e9 add registerNodeClass() method
- methods can now natively return user classes registered with document
2005-11-23 02:56:41 +00:00
Rob Richards
d1cf2c5ffe add save options parameter 2005-09-08 10:34:37 +00:00
Rob Richards
bbe63287e7 Fixed bug #34103 (line numbering not maintained in dom document) 2005-08-15 17:13:15 +00:00
Dmitry Stogov
21c1109e0c Unicode support 2005-08-12 11:29:33 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
foobar
2967f6116f - Fixed bugs #33431, #33432 ("int" used instead of "long" in parameter parsing) 2005-06-26 22:34:26 +00:00
Ilia Alshanetsky
8b8940ba84 php_error() -> php_error_docref(). 2005-04-21 21:11:23 +00:00
Andrey Hristov
d9f5f1ee08 fix memory corruption on 64bit in imagefttext(),
domdocument::load() and domdocument::loadxml()
2005-04-10 21:37:17 +00:00
Marcus Boerger
79687e9b7d - Fix dependency 2005-01-08 13:24:39 +00:00
Rob Richards
6bbb254ecc allow parser flags to be passed to xinclude() 2005-01-02 12:22:36 +00:00
Rob Richards
cb72e23c14 add optional parameter to pass libxml document load options 2004-12-05 12:02:35 +00:00
Rob Richards
b87d8cdfd0 prototype fixes (Jakub Vrána) 2004-11-18 19:54:30 +00:00
Rob Richards
7dced12c32 add DOMDocument xmlEncoding, xmlStandalone, xmlVersion (spec name changes)
add DOMText isElementContentWhitespace (spec name change)
 - old props/method kept for BC.
 - spec names changed when Level 3 went from Draft to Recommendation
nuke some unused code
2004-10-07 11:40:20 +00:00
Rob Richards
02fa5aa0dc remove cloning under ze1_compatibility_mode
- minor BC break but doesnt work right under compat mode anyways
2004-08-30 15:07:20 +00:00
Christian Stocker
b96ebb376f if $doc->recover = true; set error_reporting to (old | E_WARNING)
This way, you can't silence XML parse errors with the @ character
2004-08-25 08:27:07 +00:00