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
Christian Stocker
e99c375606
Added DomDocument->recover property for parsing not well-formed XML Documents.
2004-08-13 12:32:55 +00:00
Rob Richards
8925d6573e
MFB: add missing optional value param to createElementNS (chregu)
2004-07-18 13:16:15 +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
Zeev Suraski
7d04465b74
Fix prototypes
2004-05-31 12:27:49 +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
4ce377064a
Fix bug #27467 : domDocument::load() called from class method crashes
...
the methods can be called statically only from within classes which
are not extending DomDocument
2004-03-03 20:59:02 +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
c3a57206cc
allow certain methods to be called statically again:
...
domdocument (all load methods)
domimplementation (all methods)
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
fix a few segfaults found while testing
2004-02-15 17:07:34 +00:00
Rob Richards
7e619b7f5f
update constructors so they cant be called statically
2004-01-22 21:16:05 +00:00
Rob Richards
a4815f7c8e
Warn when empty string supplied to load methods (by Pierre-Alain)
...
Fix refcount on xpath iterators
xpath_query should return nodelist even when empty
2004-01-20 11:35:32 +00:00
Christian Stocker
00af01bb94
fixes segfault, if file doesn't exist (by Pierre-Alain)
2004-01-19 20:54:40 +00:00
Christian Stocker
743a830102
- fix for bug #26947 Crash by using DomDocument::getElementById()
2004-01-18 12:56:23 +00:00
Andi Gutmans
dbeb4158d2
- A belated happy holidays and PHP 5
2004-01-08 08:18:22 +00:00
Rob Richards
6e65e1d821
Fix bug #26815 (foreach (DOM) childnodes causes error using Xinclude)
...
update xinclude test
2004-01-07 15:33:25 +00:00
Ilia Alshanetsky
72da689340
Compiler warning fixes.
2003-12-21 18:22:14 +00:00
Rob Richards
6dfd1c190c
use error handling from libxml ext
2003-12-12 13:54:52 +00:00
Christian Stocker
80d552496c
Fix Bug, if parser input is not a filename (By Adam)
2003-12-01 08:18:35 +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
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
3cd8d4a865
xinclude support readded to ext/dom
2003-10-27 15:32:22 +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
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
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
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
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
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
Marcus Boerger
d2ea062ef0
Fix warnings
2003-08-10 20:39:58 +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
Zeev Suraski
6c24e1577c
API update
2003-07-22 13:50:00 +00:00
Rob Richards
d85845a64b
fix for Bug #24715 segfault in dom_document_create_element
...
removed xmlmemorydump debug code
2003-07-19 14:59:29 +00:00
Rob Richards
1344b5d9b9
fix invalid node pointers
2003-07-18 12:41:35 +00:00