Commit Graph

325 Commits

Author SHA1 Message Date
Christian Stocker
fe34195288 Patch by Morus Walter, concerning some dtd/entity expanding stuff. 2002-10-28 08:54:30 +00:00
Ilia Alshanetsky
e4becf42ed Added an ini option to hide the expected memory leak. This is done for
compatibility with systems where report_memleak is turned off or running
PHP with --disable-debug.
2002-10-24 17:02:44 +00:00
foobar
3be17e3f26 - Prevent resetting the PHP_*_DIR variables if already set. 2002-10-21 02:46:13 +00:00
Sander Roobol
36fd03b578 Typo 2002-10-12 16:16:36 +00:00
Christian Stocker
0e384b473b text and comment nodes do not have children... test was wrong, implementation
is right :)
2002-10-11 14:02:59 +00:00
Christian Stocker
820e5b766a node->attributes returns null, if there are no attributes. 2002-10-11 14:00:12 +00:00
Christian Stocker
ab40c954fb chregu: Can you please use the new php_error_docref in new code? 2002-09-09 20:32:49 +00:00
Christian Stocker
2375745ab4 Fix for bug 19266 (don't allow appending nodes from 2 different documents) 2002-09-09 20:21:31 +00:00
foobar
3bf7519210 @- Added --disable-all configure option. (Jani) 2002-09-04 18:47:28 +00:00
Derick Rethans
5b9a26da81 - Whitespace 2002-08-28 09:28:06 +00:00
Christian Stocker
e8b3e2abe7 fix some to long property strings 2002-08-27 08:40:44 +00:00
Christian Stocker
b29110dd3d argh, domxml_doc_free is not yet ready for CVS :) 2002-08-27 07:33:55 +00:00
Christian Stocker
567c4bbe4b stupid typo 2002-08-27 07:25:53 +00:00
Christian Stocker
e0b4533eeb fix memleak in php_domxslt_string_to_xpathexpr 2002-08-27 06:54:21 +00:00
Christian Stocker
064fb5c3cb renamed xslt_dump_* to xslt_result_dump_* to avoid confusion
# will adjust NEWS file later
2002-08-23 15:26:19 +00:00
Christian Stocker
9278d9bf1a fix memleak in xslt->dump_mem() 2002-08-23 15:19:16 +00:00
Christian Stocker
8e52350a49 - moved xslt_dump_ to better place
- removed unused variables
2002-08-22 16:04:28 +00:00
Christian Stocker
1a486b6676 @- Added XsltObject->dump_file($result,$filename[,$compression]) for dumping
@  xslt-result directly into a file. (chregu)
2002-08-22 15:54:23 +00:00
Christian Stocker
1f57dec2bf @- Added XsltObject->dump_mem($result) for returning xslt-result directly
@  into a string (morus.walter@web.de, chregu)

- XsltObject->dump_file() will follow
- bumped up needed libxslt version to 1.0.18
2002-08-22 15:02:41 +00:00
Christian Stocker
2ce44cd99c return version number of linked libxml2, not of the one, which it was
compiled against
2002-08-22 14:32:43 +00:00
foobar
7796bc12dd kill compiler warning (unused variable) 2002-08-22 00:43:18 +00:00
Derick Rethans
ccf51590b3 - Proper format for CREDITS files 2002-08-21 05:41:49 +00:00
Uwe Steinmann
6a79e354c1 - gave overdue credits to christian 2002-08-21 05:39:28 +00:00
Christian Stocker
9698d5da45 w3c adjustments :)
- has_attributes returns empty string if attribute is not there
- parent_node returns null, if no parent
2002-08-19 14:01:04 +00:00
Christian Stocker
6cbb350607 More W3C conformance stuff (they returned all false before..)
- DomNode->attributes() returns NULL, if not found.
- DomNode->first_child() returns NULL, if not found
- DomNode->last_child() returns NULL, if not found.
- DomNode->namespace_uri() returns NULL, if not found.
2002-08-17 11:47:21 +00:00
Christian Stocker
9c20c7c9ba More on the way to W3C coformance:
@- Changed DomNode->next_sibling and DomNode->previous_sibling to return NULL
@  instead of false (W3C specs). (chregu)
@- Changed DomNode->insert_before() and DomNode->append_child() to conform to
@  W3C specs (moving not copying nodes, accepting NULL as 2nd param). (chregu)
2002-08-16 08:42:41 +00:00
Christian Stocker
993d235c07 include libxml/xinclude.h to make some compilers happy 2002-08-15 18:02:25 +00:00
Christian Stocker
2126f799b9 proto fixes 2002-08-15 13:26:32 +00:00
Christian Stocker
c0f4035116 @ - Added DomNode->set_namespace(uri[,prefix]) (chregu)
- Added third optional parameter (prefix) to DomDocument->create_element_ns()
- generate prefix from random number, if not provided.
2002-08-15 12:43:44 +00:00
Christian Stocker
5c935cb372 - let DomNode->replace_child always behave correctly (acc. to W3C specs)
if the newchild had the same parent as the old child, nothing happened,
which seemed strange behaviout to me...
2002-08-14 17:38:20 +00:00
Christian Stocker
ce71fe0288 DomNode->replace_node moves instead of copies node. 2002-08-14 16:53:56 +00:00
Christian Stocker
c0a79401fd - fix for bug #17771 (insert_before misbeaviour (DOM L2 spec.))
@ - DomNode->insert_before behaves now according to W3C spec
@   ie. new_child is moved, not copied. (chregu)
2002-08-14 16:12:18 +00:00
Christian Stocker
63874f9017 @ - Added some namespace support with DomNode->add_namespace(uri, prefix)
@   and DomDocument->create_element_ns(uri, nodename) (chregu)
2002-08-14 14:23:44 +00:00
Christian Stocker
780c1605c8 bump up api version number 2002-08-14 09:20:19 +00:00
Christian Stocker
280cb97fef fix for bug #18196
@ - DomElement->node_name() takes optional boolean argument for retrieving
@ -  full qualified name (ie namespace prefix) (chregu)
2002-08-14 09:07:34 +00:00
Christian Stocker
323765cc17 fix for bug #18395 (DOMXML crash on removing previously created attributes) 2002-08-14 08:27:36 +00:00
Christian Stocker
43bdd6ed73 @ - DomNode->child_nodes() returns empty array instead of false, if no
@ - child nodes are found (chregu)
2002-08-14 07:29:46 +00:00
Christian Stocker
c0f12111ba @ - Added $DomDocument->xinclude() for substitution of XIncludes in
a DomDocument (chregu)
2002-08-12 13:11:50 +00:00
Joseph Tate
3001ecc948 #Stupid. Sorry. 2002-08-07 17:03:42 +00:00
Joseph Tate
17d94ed821 #Don't use C++ Comments bug #18783 2002-08-07 16:52:00 +00:00
Christian Stocker
825b5a42e2 - nodename is not always set, check if it really is.
- make force_ref for aliases as well
2002-07-29 14:04:44 +00:00
Christian Stocker
2ba020d012 even more items on the TODO list 2002-07-17 08:59:05 +00:00
Christian Stocker
bb069a1ccb nodename is not always set, check if it really is. 2002-07-17 08:57:29 +00:00
foobar
efd065ff78 Fixed some unused variable warnings 2002-07-13 05:53:06 +00:00
Christian Stocker
e5bcd202ce @ - Added domxml_node_namespace_uri() (Rui Lopes). 2002-07-07 17:19:29 +00:00
Christian Stocker
e1483035b6 outcomment everything related to domxml_elem_set_attribute_node(). This
function is not implemented and shouldn't show up at all for the time
being
2002-07-01 14:48:38 +00:00
Derick Rethans
f57306cdd9 Unify error messages 2002-06-26 07:54:00 +00:00
Christian Stocker
d68707a2c9 should compile on windows again 2002-06-25 09:46:15 +00:00
Christian Stocker
15416d6797 include libxml/parserInternals.h 2002-06-25 09:19:20 +00:00
Christian Stocker
b6440188b1 added some points to the todo list 2002-06-24 18:02:48 +00:00