Commit Graph

102 Commits

Author SHA1 Message Date
foobar
32b5a41941 - Fixed bug #26072 (--disable-libxml does not work). 2003-11-12 23:42:38 +00:00
Moriyoshi Koizumi
06d541a63a SKIP tests if compress.zlib wrapper is not available. 2003-10-31 16:12:27 +00:00
Christian Stocker
038a7c4831 make test work with libxml2 2.6.x and lower
(I used lowercase html again in the EXPECT part, as this is now the default
behaviour for newer libxml2 releases)
2003-10-30 10:06:00 +00:00
Ilia Alshanetsky
e0a943dcdb Fixed test. 2003-10-29 05:04:40 +00:00
Shane Caraveo
4e283ed686 fix win32 build 2003-10-28 04:21:29 +00:00
Christian Stocker
9e5bc9509e use php_error_docref 2003-10-27 19:52:50 +00:00
Christian Stocker
901153b441 extending of domDocument class test 2003-10-27 17:51:55 +00:00
Christian Stocker
e735e44f52 added html test 2003-10-27 17:36:44 +00:00
Christian Stocker
0d59b3dda6 xinclude test 2003-10-27 15:32:44 +00:00
Christian Stocker
3cd8d4a865 xinclude support readded to ext/dom 2003-10-27 15:32:22 +00:00
Christian Stocker
df7799762a streams test 2003-10-27 15:13:12 +00:00
Christian Stocker
e311179b72 exception/try/catch test 2003-10-27 12:52:37 +00:00
Christian Stocker
a8063d776c interop test 2003-10-27 11:24:30 +00:00
Christian Stocker
eb2104d17c remove unneeded variables 2003-10-27 00:03:28 +00:00
Christian Stocker
e5bd8fdd0d - Make distinction in error-reporting between Warnings and Errors from libxml2
- Use internal error_handlers during html-parsing as well
2003-10-27 00:01:39 +00:00
Rob Richards
207dc90924 add interop with simplexml - dom_import_simplexml
fix cloneNode with elements
2003-10-26 15:57:02 +00:00
Moriyoshi Koizumi
48fbe0af2a Add a test case for getElementsByTagName() / getElementsByTagNameNS() 2003-10-21 02:43:24 +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
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
Shane Caraveo
31b7b3a2b2 add the valid xml test 2003-10-09 05:47:38 +00:00
Shane Caraveo
d0cf1ec40d add a DTD example 2003-10-09 05:46:03 +00:00
Rob Richards
6c9bbe70bf some namespace fixes
fix compiler warning
2003-10-06 21:28:01 +00:00
Shane Caraveo
e12aafca6b fix crash building nodeName 2003-10-05 21:53:08 +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
Shane Caraveo
a05dbd3a28 remove a debug printf 2003-10-05 16:37:50 +00:00
Rob Richards
8f489130bf fix segfault if xpath expression string is invalid 2003-10-05 13:14:21 +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
Zeev Suraski
c6c240a455 Sync with new API 2003-10-05 08:08:49 +00:00
Ilia Alshanetsky
763b39cc1d Fixed compile warnings. 2003-10-03 01:07:35 +00:00
Rob Richards
b437ac77bc add property_get_ptr handler
fix possible segfault in xpath
add wide character support for characterdata
2003-09-29 11:43:26 +00:00
Rob Richards
f9640d5fad fix preserveWhiteSpace on document load 2003-09-24 12:56:37 +00:00
Rob Richards
cb4db32030 set consistent pathing for libxml
set document url when loaded from memory to set base href
2003-09-22 19:11:35 +00:00
Rob Richards
7c33d55961 validate encoding against valid handlers 2003-09-15 12:29:52 +00:00
Rob Richards
315bf401ba move some document properties internally
add xpath namespace support (by Shane)
2003-09-08 18:28:35 +00:00
Sebastian Bergmann
afdecc374d ZTS fix. 2003-09-03 18:13:11 +00:00
Rob Richards
fd5758781c changes to php_dom.h for last commit
replaced removed closing tags - doh
2003-09-03 10:48:02 +00:00
Rob Richards
5630dd0be2 add document HTML load/save methods
add document standalone validate method
cleanup some prototype declarations
domexception inherits from default exception
2003-09-03 10:11:53 +00:00
Rob Richards
b196c0551e implement stricterrorcheck
fix clonenode
cleanup error routines
forgot these files
2003-08-24 10:24: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
Rob Richards
d7e6bdaa0f fix infinite loop in normalize 2003-08-20 18:58:03 +00:00
Wez Furlong
9ada9e5767 fix build 2003-08-19 01:30:27 +00:00
Zeev Suraski
391c027da6 Get rid of PZVAL_UNLOCK() - fix untested 2003-08-18 23:13:25 +00:00
Ilia Alshanetsky
93bcd55eaf emalloc -> safe_emalloc 2003-08-12 00:58:52 +00:00
Marcus Boerger
d2ea062ef0 Fix warnings 2003-08-10 20:39:58 +00:00
Rob Richards
7ba3cb8c1e remove xml debug code 2003-07-27 20:21:36 +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
Rob Richards
618d6c904d doctype and namespace fix
memory leak fix
2003-07-25 17:25:50 +00:00
Rob Richards
e8a87e5430 initial xpath implementation
make dom_object generic
2003-07-24 13:18:40 +00:00