summaryrefslogtreecommitdiff
path: root/ext/domxml/php_domxml.c
Commit message (Collapse)AuthorAgeFilesLines
* - nodename is not always set, check if it really is.Christian Stocker2002-07-291-3/+5
| | | | | - make force_ref for aliases as well
* nodename is not always set, check if it really is.Christian Stocker2002-07-171-1/+3
|
* Fixed some unused variable warningsfoobar2002-07-131-2/+5
|
* @ - Added domxml_node_namespace_uri() (Rui Lopes).Christian Stocker2002-07-071-1/+28
|
* outcomment everything related to domxml_elem_set_attribute_node(). ThisChristian Stocker2002-07-011-1/+5
| | | | | | function is not implemented and shouldn't show up at all for the time being
* Unify error messagesDerick Rethans2002-06-261-7/+7
|
* should compile on windows againChristian Stocker2002-06-251-4/+8
|
* - take version of libxslt and libxml from runtime variables to makeUwe Steinmann2002-06-201-34/+46
| | | | | | sure the reported versions correspond to the actually installed versions of libxml and libxslt
* - Make domxml_xslt_process() working again.Christian Stocker2002-06-191-1/+1
|
* - Fix ZTS build.Markus Fischer2002-06-181-2/+2
|
* - renamed domxml_parser_reference to domxml_parser_entitiy_referenceChristian Stocker2002-06-141-8/+57
| | | | | | | | - renamed domxml_cdata_block to domxml_parser_cdata_section (more consistent with the domxml_create_XXX methods) - added domxml_parser_processing_instruction(target,data) - added domxml_parser_namespace_decl(href,prefix)
* - oops, that didn't even compileChristian Stocker2002-06-141-7/+31
| | | | | - added domxml_parser_reference(reference)
* @ - Added preliminary SAX-Input support. It's now possible to build a ↵Christian Stocker2002-06-141-0/+226
| | | | | | | | | | | | DomDocument @ with SAX-Events (added domxml_parser_start_document(), domxml_parser_end_document(), @ domxml_parser_start_element(tagname[,attributes]), domxml_parser_end_element(tagname), @ domxml_parser_characters(characters), domxml_parser_cdata_block(cdata), @ domxml_parser_comment(comment), domxml_parser_get_document(). (chregu) # More Sax Events to be implemented. Sax Output (from file or DOM-Tree) is # not that easy to implement, but possible...
* - Added DOMXML_LOAD_DONT_KEEP_BLANKS as possible mode, if one wants really ↵Christian Stocker2002-06-131-2/+16
| | | | | | | | nicely formatted XML-Documents (but this can have sideeffects, if you depend on whitespaces..) - bumped up domxml-api-version number.
* @ - Added better error-messages (3rd parameter) and validating of DTDs (2nd ↵Christian Stocker2002-06-131-30/+267
| | | | | | | | parameter) to @ domxml_open_mem(string xml[, int mode[, array errors]]) and domxml_open_file(string filename[, int mode[, array errors]]). @ - Added domxml_doc_validate([array errors]) for validating existing DomDocuments with a DTD.
* Fixed domxml_get_element_by_id()Christian Stocker2002-06-121-5/+5
|
* #Undeprecated attribute access methodsJoseph Tate2002-06-101-1/+2
|
* Added aliases to make attr_node access functions more consistent.Joseph Tate2002-06-071-0/+4
| | | | | | | | | | | | | Old access functions are now deprecated. CVS: ---------------------------------------------------------------------- CVS: Enter Log. Lines beginning with `CVS:' are removed automatically CVS: CVS: Committing in . CVS: CVS: Modified Files: CVS: php_domxml.c CVS: ----------------------------------------------------------------------
* - Fix a problem in domxml_dump_mem(_file) with xmlKeepBlanksDefault notDerick Rethans2002-06-051-2/+3
| | | | | being set. (patch by Rob Richards <rrichards@digarc.com>)
* #Whitespace fix: SorryJoseph Tate2002-06-041-1/+1
|
* Bug fix to #17560 submitted by Rob RichardsJoseph Tate2002-06-041-2/+3
|
* initalize variable in domxml_doc_document_element()Brad LaFountain2002-05-311-1/+1
|
* added the ability to use new keywork with domxmls objects "new DomDocument()"Brad LaFountain2002-05-311-143/+217
| | | | | | | | | | instead of xmldoc. This also allows you to create nodes without having a whole document "new DomElement("foo")". moved DOMXML_API_VERSION to php_domxml.h exposed php_domobject_new for other extensions to use removed some un-needed code
* DO NOT use C++ comments!foobar2002-05-191-2/+2
|
* - delete attributes as well in php_free_xml_nodeChristian Stocker2002-05-181-2/+4
| | | | | - more consistent naming in phpinfo()
* added "domxml API version" in phpinfo() output.Christian Stocker2002-05-181-1/+9
|
* mem leak fix for domxml_dump_nodeChristian Stocker2002-05-181-2/+2
|
* fixes memleak in html_dump_memChristian Stocker2002-05-181-1/+1
|
* rename the object name for comment nodes to domcomentChristian Stocker2002-05-181-1/+1
|
* WS fixesChristian Stocker2002-05-181-3/+3
|
* This should fix a big bad memory leak in freeing the nodes at script end.Christian Stocker2002-05-181-9/+19
|
* - replaced domxml_doc_document_element implementation do use libxml2 methodChristian Stocker2002-05-161-32/+44
| | | | | | | - renamed domxml_add_root to domxml_doc_add_root (and added alias for BC) - aliased $doc->get_root to domxml_document_element @ - added domxml_doc_set_root to change the root node (Lukas Schroeder)
* @- added fifth optional parameter to domxml_xslt_process. If set,Christian Stocker2002-05-101-4/+13
| | | | | | it will output profiling information to the file stated (chregu) - introduced version numbering for this extension
* removed the function for domxml_node_add_child and made an alias toChristian Stocker2002-05-031-38/+1
| | | | | domxml_node_append_child for BC
* WS fixesChristian Stocker2002-05-031-7/+7
|
* one parameter too muchChristian Stocker2002-05-031-1/+1
|
* added encoding support for domxml_dump_mem()Christian Stocker2002-05-031-5/+16
|
* - added function domxml_parser_set_keep_blanks()Uwe Steinmann2002-04-301-0/+16
|
* Fix ZTS build.foobar2002-04-241-1/+4
|
* - replace_child() will not add a child twiceUwe Steinmann2002-04-231-17/+67
| | | | | | | | - domxml_open_mem() drops old optional parameter to switch between reading from a string or a file. - new optional parameter for domxml_open_mem() which set the mode how the document shall be parsed
* - get_element_by_id() doesn't use xpath anymore but searches inUwe Steinmann2002-04-231-66/+91
| | | | | | | xmlDoc->ids as provided by libxml. - New function DomDocument->ids() returns a list of ids (subject to change) - replace_node() doesn't make a copy of the new node if it has no parents
* - DomNode->replace_node() now returns the node that was replace andUwe Steinmann2002-04-151-1/+1
| | | | | | not the new node - fixes Bug #15949
* - added DomNode->replace_child()Uwe Steinmann2002-04-151-1/+38
|
* @- old $node->append_child() is now $node->append_sibling(), sinceChristian Stocker2002-04-131-0/+39
| | | | | @ new append_child() now behaves like excepted (= W3C standard) (chregu, uwe)
* - added method DomNode->remove_child()Uwe Steinmann2002-04-121-1/+36
|
* - insert_before(): copy node before doing the insertUwe Steinmann2002-04-121-53/+225
| | | | | | | | | | - append_child(): actually do an append child and not and add sibling - what is called xmlDtd in libxml is actually the class DocumentType in DOM. The domxml extension used a class DomDtd which is not defined in the DOM standard. Instead of using DomDtd DomDocumentType is now used. DomDtd has been renamed to Dtd but has not meaning anymore. - added more functions
* Added unlink_node alias for consistencyJoseph Tate2002-04-051-0/+1
|
* oops. that was an error not detected in shared library mode ...Christian Stocker2002-04-051-1/+1
|
* added domxml_parser(), domxml_parser_add_chunk() and domxml_parser_end().Christian Stocker2002-04-051-2/+145
| | | | | It provides access to the PushParser interface of libxml2.
* - fixed a lot of memory leaks (by Lukas Schroeder)Christian Stocker2002-04-041-20/+25
| | | | | - get_attribute() returns False instead of empty string, if attribute not found