Commit Graph

81 Commits

Author SHA1 Message Date
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
Rob Richards
e4d73c22ad fix setting new encoding 2003-07-14 21:51:28 +00:00
Rob Richards
a04b2c8724 fix loading off of interface 2003-07-12 17:23:05 +00:00
Rob Richards
d1c41150c6 fix compile issue - TSRMLS_FETCH is only temporary until errors handled 2003-07-11 14:19:05 +00:00
Rob Richards
16fb3e91c0 remove global error handling - use of libxml globals is a bad thing
add domDocument properties for parsing options:
validateOnParse, resolveExternals, preserveWhiteSpace, substituteEntities
implement custom parsing to avoid use of globals
implement local errors while parsing
errors displayed until error objects implemented
2003-07-10 11:17:25 +00:00
Rob Richards
4cd06845f9 implement node proxies: next phase of interop 2003-07-07 19:37:32 +00:00
Rob Richards
ee9ca6ee9d fix load() and loadxml() when used with uninstantiated object 2003-07-01 19:28:30 +00:00
Rob Richards
2a02045596 remove code no longer needed
fix format Output property
2003-06-15 19:58:42 +00:00
Rob Richards
5b19e1ec92 add node->isSupported()
add domimplementation->hasFeature()
add formatOutput property (extends DOM)
call xmlFreeDoc when doc is no longer referenced rather than custom code
save and savexml now format based on formatOutput property
2003-06-12 20:02:05 +00:00
James Cox
f68c7ff249 updating license information in the headers. 2003-06-10 20:04:29 +00:00
Rob Richards
6d72c89408 implmentation of document ref counting for persistance
re-work of internal object handling
2003-06-09 20:20:55 +00:00
Sterling Hughes
15aab08e9d version length too 2003-06-05 18:30:19 +00:00
Sterling Hughes
a957b66dc8 initialize the encoding length 2003-06-05 18:29:55 +00:00
Rob Richards
1b046ed40e Inital cut of new dom extension
PHP5 only
2003-06-05 17:06:52 +00:00