Etienne Kneuss
b8aa44644d
Fix error_handling usage in various extensions
2008-08-08 22:06:42 +00:00
Rob Richards
8c284d9640
fixed bug #45251 (double free or corruption with setAttributeNode())
...
add test
2008-06-14 11:21:47 +00:00
Rob Richards
30800f4b12
fix bug #44648 (Attribute names not checked for wellformedness)
...
fix some warnings
2008-04-17 20:19:53 +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
Dmitry Stogov
8146078f7b
Improved memory usage by movig constants to read only memory. (Dmitry, Pierre)
2007-09-27 18:28:44 +00:00
Rob Richards
45d4f66b24
MFB: fix bug #41257 (lookupNamespaceURI does not work as expected)
...
fix related issue in isDefaultNamespace
add test
reconcile namespaces when setting attribute in a new namespace
2007-05-04 19:32:19 +00:00
Sebastian Bergmann
3717df72ae
Bump year.
2007-01-01 09:29:37 +00:00
Rob Richards
d58a374aa9
fix some compiler warnings
2006-09-28 10:11:20 +00:00
Rob Richards
a4b2e946f6
MFB: fix bug #38949 (Cannot get xmlns value attribute)
...
add test
2006-09-27 10:32:11 +00:00
Rob Richards
b2a44a9cc6
mark functionality unicode safe
...
add test
2006-09-22 10:13:27 +00:00
Antony Dovgal
4bbeaa70fa
free node pointer using correct function
...
fixes leak in ext/dom/tests/dom_create_element.phpt
2006-09-15 07:43:59 +00:00
Rob Richards
a0d6c14a0f
MFB: fix #38474 (getAttribute select attribute by order, even when prefixed)
...
add test
2006-08-28 23:37:23 +00:00
Rob Richards
f85e695409
add unicode support
...
update test
2006-08-04 18:11:27 +00:00
Ilia Alshanetsky
b37a784265
MFB: Removed unused variables.
2006-06-13 20:20:03 +00:00
Rob Richards
653007cea0
idness not valid for attribute declarations
2006-06-02 16:15:58 +00:00
Rob Richards
b1f52e79aa
Fix bug #37277 (cloning Dom Documents or Nodes does not work)
...
Proper fix for bug #36859
2006-05-03 08:40:52 +00:00
Dmitry Stogov
09ca61c125
Made server wide switch for unicode on/off (according to PDM).
2006-02-13 10:23:59 +00:00
foobar
251c5173fd
bump year and license version
2006-01-01 13:10:10 +00:00
Rob Richards
73e6869340
implement setIDAttributeXXX functionality
2005-11-23 02:52:56 +00:00
Rob Richards
a953be4fff
fix crash setting attr from foreign doc (throws exception)
...
add test
2005-10-27 23:49:38 +00:00
Rob Richards
4509fb9d5d
Fixed bug #34276 (setAttributeNS doesn't work with default namespace)
...
Add test
2005-08-28 16:22:03 +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
Rob Richards
b27d49579a
Allow NULL namespaceURI for getAttributeNodeNS
2005-07-07 10:36:08 +00:00
Rob Richards
022461d976
- correct fix for bug #33059
...
- fix issue in other methods
2005-05-20 15:01:38 +00:00
Ilia Alshanetsky
e117b6bad2
Fixed bug #33059 (crash when moving xml attribute set in dtd).
2005-05-19 13:47:21 +00:00
Rob Richards
b87d8cdfd0
prototype fixes (Jakub Vrána)
2004-11-18 19:54:30 +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
Rob Richards
5b0f34ae80
Fix bug #28584 : DOMText::splitText() does not split text properly (benjcarson)
...
Prototype fixes
2004-05-31 12:50:28 +00:00
Rob Richards
edae935c26
namespace/tagname validation fixes (Adam Trachtenberg)
...
added new test
2004-05-27 11:15:45 +00:00
Rob Richards
9e3956b313
constructors throw DOMException
...
add DOM_PHP_ERR DomException code
validate tagnames in constructors
use C style comments
update TODO
2004-05-16 10:30:16 +00:00
Rob Richards
010c340f29
use new style constructors
...
fix return for nodelist item
2004-03-31 17:18:59 +00:00
Rob Richards
081e773f86
add optional third parameter to support namespace in constructor
2004-02-22 13:05:49 +00:00
Rob Richards
602c786aa9
issue warning if object is in invalid state when dealing with properties
2004-02-16 13:06:33 +00:00
Rob Richards
c1418894dd
switch to zend_parse_method_parameters for consistancy
...
insure object parameters are correct class types
convert zvals to correct type if needed for property writes
2004-02-15 14:05:17 +00:00
Rob Richards
7e619b7f5f
update constructors so they cant be called statically
2004-01-22 21:16:05 +00:00
Andi Gutmans
dbeb4158d2
- A belated happy holidays and PHP 5
2004-01-08 08:18:22 +00:00
Rob Richards
6ac34646ac
implement namednodemap and nodelist
...
fix xsl/dom integration under windows
update tests and examples
2003-11-29 20:40:18 +00:00
Christian Stocker
29a46b2ff6
changing dom_object_get_data to php_dom_object_get_data and PHP_DOM_EXPORT it
...
(by Rob Richards)
2003-11-28 21:55:59 +00:00
Rob Richards
207dc90924
add interop with simplexml - dom_import_simplexml
...
fix cloneNode with elements
2003-10-26 15:57:02 +00:00
Rob Richards
44164170f3
implement namespace nodes
...
fix getElementsByTagName
fixes to attribute namespaces
remove safemode stuff as its handled in streams
2003-10-20 15:50:34 +00:00
Rob Richards
6c9bbe70bf
some namespace fixes
...
fix compiler warning
2003-10-06 21:28:01 +00:00
Shane Caraveo
4fbf5a0733
fix crash accessing tagName without namespace
2003-10-05 21:49:47 +00:00
Shane Caraveo
87bd7d57c6
Add schema and relaxNG validation support
...
domdocument->schemaValidate(string filename)
domdocument->schemaValidateSource(string xml)
domdocument->relaxNGValidate(string filename)
domdocument->relaxNGValidateSource(string xml)
also fix domelement->setAttributeNS
2003-10-05 20:45:27 +00:00
Rob Richards
c21e78ddf2
implement isDefaultNameSpace and baseURI
...
nodeName and tagName return qualified names
fix removeAttributeNode - takes domAttr as parameter
better uri and file handling for document load method
fix possible segfault when document is freed
set get_property_ptr_ptr handler to NULL
2003-10-05 11:52:22 +00:00
Rob Richards
09481c642b
implement stricterrorcheck
...
fix clonenode
cleanup error routines
2003-08-24 10:23:43 +00:00
Wez Furlong
21329c5e0c
allow building without libxml2 under win32
2003-08-22 15:04:29 +00:00
Ilia Alshanetsky
93bcd55eaf
emalloc -> safe_emalloc
2003-08-12 00:58:52 +00:00
Rob Richards
43bc2f0b6d
reworking xml namespace support
...
add node lookupNamespaceURI and lookupPrefix
add attr isId
2003-07-27 17:57:06 +00:00