rrichards Mon May 31 08:50:28 2004 EDT
Modified files:
/php-src/ext/dom attr.c cdatasection.c characterdata.c comment.c
document.c documentfragment.c documenttype.c
domexception.c domimplementation.c element.c
entity.c entityreference.c namednodemap.c
namelist.c node.c nodelist.c notation.c
processinginstruction.c text.c xpath.c
Log:
Fix bug #28584: DOMText::splitText() does not split text properly (benjcarson)
Prototype fixes
http://cvs.php.net/diff.php/php-src/ext/dom/attr.c?r1=1.14&r2=1.15&ty=u
Index: php-src/ext/dom/attr.c
diff -u php-src/ext/dom/attr.c:1.14 php-src/ext/dom/attr.c:1.15
--- php-src/ext/dom/attr.c:1.14 Sun May 16 06:30:16 2004
+++ php-src/ext/dom/attr.c Mon May 31 08:50:28 2004
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: attr.c,v 1.14 2004/05/16 10:30:16 rrichards Exp $ */
+/* $Id: attr.c,v 1.15 2004/05/31 12:50:28 rrichards Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -31,7 +31,7 @@
/*
-* class domattr extends domnode
+* class DOMAttr extends DOMNode
*
* URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-637646024
* Since:
@@ -43,7 +43,7 @@
{NULL, NULL, NULL}
};
-/* {{{ proto void DomAttr::__construct(string name, [string value]); */
+/* {{{ proto void DOMAttr::__construct(string name, [string value]); */
PHP_METHOD(domattr, __construct)
{
@@ -85,7 +85,7 @@
}
}
-/* }}} end DomAttr::__construct */
+/* }}} end DOMAttr::__construct */
/* {{{ proto name string
@@ -200,7 +200,7 @@
-/* {{{ proto ownerElement element
+/* {{{ proto ownerElement DOMElement
readonly=yes
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Attr-ownerElement
Since: DOM Level 2
@@ -236,7 +236,7 @@
-/* {{{ proto schemaTypeInfo typeinfo
+/* {{{ proto schemaTypeInfo DOMTypeInfo
readonly=yes
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Attr-schemaTypeInfo
Since: DOM Level 3
http://cvs.php.net/diff.php/php-src/ext/dom/cdatasection.c?r1=1.9&r2=1.10&ty=u
Index: php-src/ext/dom/cdatasection.c
diff -u php-src/ext/dom/cdatasection.c:1.9 php-src/ext/dom/cdatasection.c:1.10
--- php-src/ext/dom/cdatasection.c:1.9 Sun May 16 06:30:16 2004
+++ php-src/ext/dom/cdatasection.c Mon May 31 08:50:28 2004
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: cdatasection.c,v 1.9 2004/05/16 10:30:16 rrichards Exp $ */
+/* $Id: cdatasection.c,v 1.10 2004/05/31 12:50:28 rrichards Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -29,7 +29,7 @@
/*
-* class domcdatasection extends domtext
+* class DOMCdataSection extends DOMText
*
* URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-667469212
* Since:
@@ -40,7 +40,7 @@
{NULL, NULL, NULL}
};
-/* {{{ proto void DomCDataSection::__construct(string value); */
+/* {{{ proto void DOMCdataSection::__construct(string value); */
PHP_METHOD(domcdatasection, __construct)
{
@@ -73,6 +73,6 @@
php_libxml_increment_node_ptr((php_libxml_node_object *)intern, nodep,
(void *)intern TSRMLS_CC);
}
}
-/* }}} end DomCDataSection::__construct */
+/* }}} end DOMCdataSection::__construct */
#endif
http://cvs.php.net/diff.php/php-src/ext/dom/characterdata.c?r1=1.12&r2=1.13&ty=u
Index: php-src/ext/dom/characterdata.c
diff -u php-src/ext/dom/characterdata.c:1.12 php-src/ext/dom/characterdata.c:1.13
--- php-src/ext/dom/characterdata.c:1.12 Mon Feb 16 08:06:33 2004
+++ php-src/ext/dom/characterdata.c Mon May 31 08:50:28 2004
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: characterdata.c,v 1.12 2004/02/16 13:06:33 rrichards Exp $ */
+/* $Id: characterdata.c,v 1.13 2004/05/31 12:50:28 rrichards Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -29,7 +29,7 @@
/*
-* class domcharacterdata extends domnode
+* class DOMCharacterData extends DOMNode
*
* URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-FF21A306
* Since:
@@ -105,7 +105,7 @@
/* }}} */
-/* {{{ proto length unsigned long
+/* {{{ proto length long
readonly=yes
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-7D61178C
Since:
@@ -140,7 +140,7 @@
/* }}} */
-/* {{{ proto domstring dom_characterdata_substring_data(unsigned long offset,
unsigned long count);
+/* {{{ proto string dom_characterdata_substring_data(long offset, long count);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-6531BCCF
Since:
*/
@@ -190,7 +190,7 @@
/* }}} end dom_characterdata_substring_data */
-/* {{{ proto dom_void dom_characterdata_append_data(string arg);
+/* {{{ proto void dom_characterdata_append_data(string arg);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-32791A2F
Since:
*/
@@ -215,7 +215,7 @@
/* }}} end dom_characterdata_append_data */
-/* {{{ proto dom_void dom_characterdata_insert_data(unsigned long offset, string arg);
+/* {{{ proto void dom_characterdata_insert_data(long offset, string arg);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-3EDB695F
Since:
*/
@@ -264,7 +264,7 @@
/* }}} end dom_characterdata_insert_data */
-/* {{{ proto dom_void dom_characterdata_delete_data(unsigned long offset, unsigned
long count);
+/* {{{ proto void dom_characterdata_delete_data(long offset, long count);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-7C603781
Since:
*/
@@ -320,7 +320,7 @@
/* }}} end dom_characterdata_delete_data */
-/* {{{ proto dom_void dom_characterdata_replace_data(unsigned long offset, unsigned
long count, string arg);
+/* {{{ proto void dom_characterdata_replace_data(long offset, long count, string arg);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-E5CBA7FB
Since:
*/
http://cvs.php.net/diff.php/php-src/ext/dom/comment.c?r1=1.9&r2=1.10&ty=u
Index: php-src/ext/dom/comment.c
diff -u php-src/ext/dom/comment.c:1.9 php-src/ext/dom/comment.c:1.10
--- php-src/ext/dom/comment.c:1.9 Sun May 16 06:30:16 2004
+++ php-src/ext/dom/comment.c Mon May 31 08:50:28 2004
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: comment.c,v 1.9 2004/05/16 10:30:16 rrichards Exp $ */
+/* $Id: comment.c,v 1.10 2004/05/31 12:50:28 rrichards Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -29,7 +29,7 @@
/*
-* class domcomment extends domcharacterdata
+* class DOMComment extends DOMCharacterData
*
* URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-1728279322
* Since:
@@ -40,7 +40,7 @@
{NULL, NULL, NULL}
};
-/* {{{ proto void DomComment::__construct([string value]); */
+/* {{{ proto void DOMComment::__construct([string value]); */
PHP_METHOD(domcomment, __construct)
{
@@ -73,5 +73,5 @@
php_libxml_increment_node_ptr((php_libxml_node_object *)intern,
(xmlNodePtr)nodep, (void *)intern TSRMLS_CC);
}
}
-/* }}} end DomComment::__construct */
+/* }}} end DOMComment::__construct */
#endif
http://cvs.php.net/diff.php/php-src/ext/dom/document.c?r1=1.54&r2=1.55&ty=u
Index: php-src/ext/dom/document.c
diff -u php-src/ext/dom/document.c:1.54 php-src/ext/dom/document.c:1.55
--- php-src/ext/dom/document.c:1.54 Mon May 31 08:27:49 2004
+++ php-src/ext/dom/document.c Mon May 31 08:50:28 2004
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: document.c,v 1.54 2004/05/31 12:27:49 zeev Exp $ */
+/* $Id: document.c,v 1.55 2004/05/31 12:50:28 rrichards Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -42,7 +42,7 @@
#define DOM_LOAD_FILE 1
/*
-* class domdocument extends domnode
+* class DOMDocument extends DOMNode
*
* URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-i-Document
* Since:
@@ -88,7 +88,7 @@
{NULL, NULL, NULL}
};
-/* {{{ proto doctype documenttype
+/* {{{ proto docType DOMDocumentType
readonly=yes
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-B63ED1A31
Since:
@@ -124,7 +124,7 @@
-/* {{{ proto implementation domimplementation
+/* {{{ proto implementation DOMImplementation
readonly=yes
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1B793EBA
Since:
@@ -140,7 +140,7 @@
-/* {{{ proto domelement document_element documentElement
+/* {{{ proto documentElement DOMElement
readonly=yes
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-87CD092
Since:
@@ -174,7 +174,7 @@
/* }}} */
-/* {{{ proto actual_encoding string
+/* {{{ proto actualEncoding string
readonly=no
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Document3-actualEncoding
Since: DOM Level 3
@@ -399,7 +399,7 @@
/* }}} */
-/* {{{ proto strict_error_checking boolean
+/* {{{ proto strictErrorChecking boolean
readonly=no
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Document3-strictErrorChecking
Since: DOM Level 3
@@ -486,7 +486,7 @@
}
/* }}} */
-/* {{{ proto validateonParse boolean
+/* {{{ proto validateOnParse boolean
readonly=no
*/
int dom_document_validate_on_parse_read(dom_object *obj, zval **retval TSRMLS_DC)
@@ -658,7 +658,7 @@
/* }}} */
-/* {{{ proto document_uri string
+/* {{{ proto documentURI string
readonly=no
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Document3-documentURI
Since: DOM Level 3
@@ -724,7 +724,7 @@
-/* {{{ proto config domconfiguration
+/* {{{ proto config DOMConfiguration
readonly=yes
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Document3-config
Since: DOM Level 3
@@ -740,7 +740,7 @@
-/* {{{ proto domelement dom_document_create_element(string tagName [, string value]);
+/* {{{ proto DOMElement dom_document_create_element(string tagName [, string value]);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-2141741547
Since:
*/
@@ -774,7 +774,7 @@
/* }}} end dom_document_create_element */
-/* {{{ proto domdocumentfragment dom_document_create_document_fragment();
+/* {{{ proto DOMDocumentFragment dom_document_create_document_fragment();
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-35CB04B5
Since:
*/
@@ -802,7 +802,7 @@
/* }}} end dom_document_create_document_fragment */
-/* {{{ proto domtext dom_document_create_text_node(string data);
+/* {{{ proto DOMText dom_document_create_text_node(string data);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1975348127
Since:
*/
@@ -831,7 +831,7 @@
/* }}} end dom_document_create_text_node */
-/* {{{ proto domcomment dom_document_create_comment(string data);
+/* {{{ proto DOMComment dom_document_create_comment(string data);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1334481328
Since:
*/
@@ -860,7 +860,7 @@
/* }}} end dom_document_create_comment */
-/* {{{ proto domcdatasection dom_document_create_cdatasection(string data);
+/* {{{ proto DOMCdataSection dom_document_create_cdatasection(string data);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-D26C0AF8
Since:
*/
@@ -889,7 +889,7 @@
/* }}} end dom_document_create_cdatasection */
-/* {{{ proto domprocessinginstruction
dom_document_create_processing_instruction(string target, string data);
+/* {{{ proto DOMProcessingInstruction
dom_document_create_processing_instruction(string target, string data);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-135944439
Since:
*/
@@ -925,7 +925,7 @@
/* }}} end dom_document_create_processing_instruction */
-/* {{{ proto domattr dom_document_create_attribute(string name);
+/* {{{ proto DOMAttr dom_document_create_attribute(string name);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1084891198
Since:
*/
@@ -960,7 +960,7 @@
/* }}} end dom_document_create_attribute */
-/* {{{ proto domentityreference dom_document_create_entity_reference(string name);
+/* {{{ proto DOMEntityReference dom_document_create_entity_reference(string name);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-392B75AE
Since:
*/
@@ -994,7 +994,7 @@
/* }}} end dom_document_create_entity_reference */
-/* {{{ proto domnodelist dom_document_get_elements_by_tag_name(string tagname);
+/* {{{ proto DOMNodeList dom_document_get_elements_by_tag_name(string tagname);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-A6C9094
Since:
*/
@@ -1021,7 +1021,7 @@
/* }}} end dom_document_get_elements_by_tag_name */
-/* {{{ proto domnode dom_document_import_node(node importedNode, boolean deep);
+/* {{{ proto DOMNode dom_document_import_node(DOMNode importedNode, boolean deep);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Core-Document-importNode
Since: DOM Level 2
*/
@@ -1063,7 +1063,7 @@
/* }}} end dom_document_import_node */
-/* {{{ proto domelement dom_document_create_element_ns(string namespaceURI, string
qualifiedName);
+/* {{{ proto DOMElement dom_document_create_element_ns(string namespaceURI, string
qualifiedName);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-DocCrElNS
Since: DOM Level 2
*/
@@ -1127,7 +1127,7 @@
/* }}} end dom_document_create_element_ns */
-/* {{{ proto domattr dom_document_create_attribute_ns(string namespaceURI, string
qualifiedName);
+/* {{{ proto DOMAttr dom_document_create_attribute_ns(string namespaceURI, string
qualifiedName);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-DocCrAttrNS
Since: DOM Level 2
*/
@@ -1193,7 +1193,7 @@
/* }}} end dom_document_create_attribute_ns */
-/* {{{ proto domnodelist dom_document_get_elements_by_tag_name_ns(string
namespaceURI, string localName);
+/* {{{ proto DOMNodeList dom_document_get_elements_by_tag_name_ns(string
namespaceURI, string localName);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-getElBTNNS
Since: DOM Level 2
*/
@@ -1221,7 +1221,7 @@
/* }}} end dom_document_get_elements_by_tag_name_ns */
-/* {{{ proto domelement dom_document_get_element_by_id(string elementId);
+/* {{{ proto DOMElement dom_document_get_element_by_id(string elementId);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-getElBId
Since: DOM Level 2
*/
@@ -1252,7 +1252,7 @@
/* }}} end dom_document_get_element_by_id */
-/* {{{ proto domnode dom_document_adopt_node(node source);
+/* {{{ proto DOMNode dom_document_adopt_node(DOMNode source);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Document3-adoptNode
Since: DOM Level 3
*/
@@ -1263,7 +1263,7 @@
/* }}} end dom_document_adopt_node */
-/* {{{ proto dom_void dom_document_normalize_document();
+/* {{{ proto void dom_document_normalize_document();
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Document3-normalizeDocument
Since: DOM Level 3
*/
@@ -1284,7 +1284,7 @@
/* }}} end dom_document_normalize_document */
-/* {{{ proto domnode dom_document_rename_node(node n, string namespaceURI, string
qualifiedName);
+/* {{{ proto DOMNode dom_document_rename_node(node n, string namespaceURI, string
qualifiedName);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Document3-renameNode
Since: DOM Level 3
*/
@@ -1294,7 +1294,7 @@
}
/* }}} end dom_document_rename_node */
-/* {{{ proto void DomDocument::__construct([string version], [string encoding]); */
+/* {{{ proto void DOMDocument::__construct([string version], [string encoding]); */
PHP_METHOD(domdocument, __construct)
{
@@ -1337,7 +1337,7 @@
php_libxml_increment_node_ptr((php_libxml_node_object *)intern,
(xmlNodePtr)docp, (void *)intern TSRMLS_CC);
}
}
-/* }}} end dom_document_document */
+/* }}} end DOMDocument::__construct */
char *_dom_get_valid_file_path(char *source, char *resolved_path, int
resolved_path_len TSRMLS_DC) {
xmlURI *uri;
@@ -1544,7 +1544,7 @@
}
/* }}} end dom_parser_document */
-/* {{{ proto boolean|domnode dom_document_load(string source);
+/* {{{ proto boolean|DOMNode dom_document_load(string source);
URL: http://www.w3.org/TR/DOM-Level-3-LS/load-save.html#LS-DocumentLS-load
Since: DOM Level 3
*/
@@ -1554,7 +1554,7 @@
}
/* }}} end dom_document_load */
-/* {{{ proto boolean|domnode dom_document_loadxml(string source);
+/* {{{ proto boolean|DOMNode dom_document_loadxml(string source);
URL: http://www.w3.org/TR/DOM-Level-3-LS/load-save.html#LS-DocumentLS-loadXML
Since: DOM Level 3
*/
@@ -1564,7 +1564,7 @@
}
/* }}} end dom_document_loadxml */
-/* {{{ proto long|domnode dom_document_save(string file);
+/* {{{ proto long dom_document_save(string file);
Convenience method to save to file
*/
PHP_FUNCTION(dom_document_save)
@@ -1600,7 +1600,7 @@
}
/* }}} end dom_document_save */
-/* {{{ proto string|domnode dom_document_savexml([node n]);
+/* {{{ proto string dom_document_savexml([node n]);
URL: http://www.w3.org/TR/DOM-Level-3-LS/load-save.html#LS-DocumentLS-saveXML
Since: DOM Level 3
*/
@@ -1729,7 +1729,7 @@
}
-/* {{{ proto string|domnode dom_document_validate();
+/* {{{ proto boolean dom_document_validate();
Since: DOM extended
*/
PHP_FUNCTION(dom_document_validate)
@@ -1842,19 +1842,19 @@
}
}
-/* {{{ proto boolean|domnode _dom_document_schema_validate(string filename); */
+/* {{{ proto boolean dom_document_schema_validate_file(string filename); */
PHP_FUNCTION(dom_document_schema_validate_file)
{
_dom_document_schema_validate(INTERNAL_FUNCTION_PARAM_PASSTHRU, DOM_LOAD_FILE);
}
-/* }}} end _dom_document_schema_validate */
+/* }}} end dom_document_schema_validate_file */
-/* {{{ proto boolean|domnode _dom_document_schema_validate(string source); */
+/* {{{ proto boolean dom_document_schema_validate(string source); */
PHP_FUNCTION(dom_document_schema_validate_xml)
{
_dom_document_schema_validate(INTERNAL_FUNCTION_PARAM_PASSTHRU,
DOM_LOAD_STRING);
}
-/* }}} end _dom_document_schema_validate */
+/* }}} end dom_document_schema_validate */
static void
@@ -1932,14 +1932,14 @@
}
}
-/* {{{ proto boolean|domnode dom_document_relaxNG_validate_file(string filename); */
+/* {{{ proto boolean dom_document_relaxNG_validate_file(string filename); */
PHP_FUNCTION(dom_document_relaxNG_validate_file)
{
_dom_document_relaxNG_validate(INTERNAL_FUNCTION_PARAM_PASSTHRU,
DOM_LOAD_FILE);
}
/* }}} end dom_document_relaxNG_validate_file */
-/* {{{ proto boolean|domnode dom_document_relaxNG_validate_xml(string source); */
+/* {{{ proto boolean dom_document_relaxNG_validate_xml(string source); */
PHP_FUNCTION(dom_document_relaxNG_validate_xml)
{
_dom_document_relaxNG_validate(INTERNAL_FUNCTION_PARAM_PASSTHRU,
DOM_LOAD_STRING);
@@ -2022,7 +2022,7 @@
}
}
-/* {{{ proto boolean|domnode dom_document_load_html_file(string source);
+/* {{{ proto boolean|DOMNode dom_document_load_html_file(string source);
Since: DOM extended
*/
PHP_METHOD(domdocument, loadHTMLFile)
@@ -2031,7 +2031,7 @@
}
/* }}} end dom_document_load_html_file */
-/* {{{ proto boolean|domnode dom_document_load_html(string source);
+/* {{{ proto boolean|DOMNode dom_document_load_html(string source);
Since: DOM extended
*/
PHP_METHOD(domdocument, loadHTML)
http://cvs.php.net/diff.php/php-src/ext/dom/documentfragment.c?r1=1.10&r2=1.11&ty=u
Index: php-src/ext/dom/documentfragment.c
diff -u php-src/ext/dom/documentfragment.c:1.10 php-src/ext/dom/documentfragment.c:1.11
--- php-src/ext/dom/documentfragment.c:1.10 Sun May 16 06:30:16 2004
+++ php-src/ext/dom/documentfragment.c Mon May 31 08:50:28 2004
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: documentfragment.c,v 1.10 2004/05/16 10:30:16 rrichards Exp $ */
+/* $Id: documentfragment.c,v 1.11 2004/05/31 12:50:28 rrichards Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -29,7 +29,7 @@
/*
-* class domdocumentfragment extends domnode
+* class DOMDocumentFragment extends DOMNode
*
* URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-B63ED1A3
* Since:
@@ -40,7 +40,7 @@
{NULL, NULL, NULL}
};
-/* {{{ proto void DomDocumentFragment::__construct(); */
+/* {{{ proto void DOMDocumentFragment::__construct(); */
PHP_METHOD(domdocumentfragment, __construct)
{
@@ -72,5 +72,5 @@
php_libxml_increment_node_ptr((php_libxml_node_object *)intern, nodep,
(void *)intern TSRMLS_CC);
}
}
-/* }}} end DomDocumentFragment::__construct */
+/* }}} end DOMDocumentFragment::__construct */
#endif
http://cvs.php.net/diff.php/php-src/ext/dom/documenttype.c?r1=1.11&r2=1.12&ty=u
Index: php-src/ext/dom/documenttype.c
diff -u php-src/ext/dom/documenttype.c:1.11 php-src/ext/dom/documenttype.c:1.12
--- php-src/ext/dom/documenttype.c:1.11 Mon Feb 16 08:06:33 2004
+++ php-src/ext/dom/documenttype.c Mon May 31 08:50:28 2004
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: documenttype.c,v 1.11 2004/02/16 13:06:33 rrichards Exp $ */
+/* $Id: documenttype.c,v 1.12 2004/05/31 12:50:28 rrichards Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -28,7 +28,7 @@
#include "php_dom.h"
/*
-* class domdocumenttype extends domnode
+* class DOMDocumentType extends DOMNode
*
* URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-412266927
* Since:
@@ -38,8 +38,6 @@
{NULL, NULL, NULL}
};
-/* {{{ attribute protos, not implemented yet */
-
/* {{{ proto name string
readonly=yes
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1844763134
@@ -66,7 +64,7 @@
-/* {{{ proto entities namednodemap
+/* {{{ proto entities DOMNamedNodeMap
readonly=yes
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1788794630
Since:
@@ -99,7 +97,7 @@
-/* {{{ proto notations namednodemap
+/* {{{ proto notations DOMNamedNodeMap
readonly=yes
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-D46829EF
Since:
@@ -132,7 +130,7 @@
-/* {{{ proto public_id string
+/* {{{ proto publicId string
readonly=yes
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-Core-DocType-publicId
Since: DOM Level 2
@@ -162,7 +160,7 @@
-/* {{{ proto system_id string
+/* {{{ proto systemId string
readonly=yes
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-Core-DocType-systemId
Since: DOM Level 2
@@ -191,7 +189,7 @@
-/* {{{ proto internal_subset string
+/* {{{ proto internalSubset string
readonly=yes
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-Core-DocType-internalSubset
Since: DOM Level 2
http://cvs.php.net/diff.php/php-src/ext/dom/domexception.c?r1=1.8&r2=1.9&ty=u
Index: php-src/ext/dom/domexception.c
diff -u php-src/ext/dom/domexception.c:1.8 php-src/ext/dom/domexception.c:1.9
--- php-src/ext/dom/domexception.c:1.8 Thu Jan 8 03:15:16 2004
+++ php-src/ext/dom/domexception.c Mon May 31 08:50:28 2004
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: domexception.c,v 1.8 2004/01/08 08:15:16 andi Exp $ */
+/* $Id: domexception.c,v 1.9 2004/05/31 12:50:28 rrichards Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -29,7 +29,7 @@
/*
-* class domexception
+* class DOMException
*
* URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-17189187
* Since:
http://cvs.php.net/diff.php/php-src/ext/dom/domimplementation.c?r1=1.12&r2=1.13&ty=u
Index: php-src/ext/dom/domimplementation.c
diff -u php-src/ext/dom/domimplementation.c:1.12
php-src/ext/dom/domimplementation.c:1.13
--- php-src/ext/dom/domimplementation.c:1.12 Sun Feb 15 12:07:34 2004
+++ php-src/ext/dom/domimplementation.c Mon May 31 08:50:28 2004
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: domimplementation.c,v 1.12 2004/02/15 17:07:34 rrichards Exp $ */
+/* $Id: domimplementation.c,v 1.13 2004/05/31 12:50:28 rrichards Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -28,7 +28,7 @@
#include "php_dom.h"
/*
-* class domimplementation
+* class DOMImplementation
*
* URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-102161490
* Since:
@@ -42,9 +42,6 @@
{NULL, NULL, NULL}
};
-/* {{{ attribute protos, not implemented yet */
-
-
/* {{{ proto boolean dom_domimplementation_has_feature(string feature, string
version);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-5CED94D7
Since:
@@ -67,7 +64,7 @@
/* }}} end dom_domimplementation_has_feature */
-/* {{{ proto domdocumenttype dom_domimplementation_create_document_type(string
qualifiedName, string publicId, string systemId);
+/* {{{ proto DOMDocumentType dom_domimplementation_create_document_type(string
qualifiedName, string publicId, string systemId);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Level-2-Core-DOM-createDocType
Since: DOM Level 2
*/
@@ -121,7 +118,7 @@
/* }}} end dom_domimplementation_create_document_type */
-/* {{{ proto domdocument dom_domimplementation_create_document(string namespaceURI,
string qualifiedName, documenttype doctype);
+/* {{{ proto DOMDocument dom_domimplementation_create_document(string namespaceURI,
string qualifiedName, DOMDocumentType doctype);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Level-2-Core-DOM-createDocument
Since: DOM Level 2
*/
@@ -224,7 +221,7 @@
/* }}} end dom_domimplementation_create_document */
-/* {{{ proto domnode dom_domimplementation_get_feature(string feature, string
version);
+/* {{{ proto DOMNode dom_domimplementation_get_feature(string feature, string
version);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#DOMImplementation3-getFeature
Since: DOM Level 3
*/
http://cvs.php.net/diff.php/php-src/ext/dom/element.c?r1=1.29&r2=1.30&ty=u
Index: php-src/ext/dom/element.c
diff -u php-src/ext/dom/element.c:1.29 php-src/ext/dom/element.c:1.30
--- php-src/ext/dom/element.c:1.29 Thu May 27 07:15:44 2004
+++ php-src/ext/dom/element.c Mon May 31 08:50:28 2004
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: element.c,v 1.29 2004/05/27 11:15:44 rrichards Exp $ */
+/* $Id: element.c,v 1.30 2004/05/31 12:50:28 rrichards Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -29,7 +29,7 @@
/*
-* class domelement extends domnode
+* class DOMElement extends DOMNode
*
* URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-745549614
* Since:
@@ -58,7 +58,7 @@
{NULL, NULL, NULL}
};
-/* {{{ proto void DomElement::__construct(string name, [string value], [string uri]);
*/
+/* {{{ proto void DOMElement::__construct(string name, [string value], [string uri]);
*/
PHP_METHOD(domelement, __construct)
{
@@ -135,7 +135,7 @@
php_libxml_increment_node_ptr((php_libxml_node_object *)intern, nodep,
(void *)intern TSRMLS_CC);
}
}
-/* }}} end DomElement::__construct */
+/* }}} end DOMElement::__construct */
/* {{{ proto tagName string
readonly=yes
@@ -190,7 +190,7 @@
-/* {{{ proto domstring dom_element_get_attribute(string name);
+/* {{{ proto string dom_element_get_attribute(string name);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-666EE0F9
Since:
*/
@@ -219,7 +219,7 @@
/* }}} end dom_element_get_attribute */
-/* {{{ proto dom_void dom_element_set_attribute(string name, string value);
+/* {{{ proto void dom_element_set_attribute(string name, string value);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-F68F082
Since:
*/
@@ -265,7 +265,7 @@
/* }}} end dom_element_set_attribute */
-/* {{{ proto dom_void dom_element_remove_attribute(string name);
+/* {{{ proto void dom_element_remove_attribute(string name);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-6D6AC0F9
Since:
*/
@@ -308,7 +308,7 @@
/* }}} end dom_element_remove_attribute */
-/* {{{ proto domattr dom_element_get_attribute_node(string name);
+/* {{{ proto DOMAttr dom_element_get_attribute_node(string name);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-217A91B8
Since:
*/
@@ -337,7 +337,7 @@
/* }}} end dom_element_get_attribute_node */
-/* {{{ proto domattr dom_element_set_attribute_node(attr newAttr);
+/* {{{ proto DOMAttr dom_element_set_attribute_node(DOMAttr newAttr);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-887236154
Since:
*/
@@ -395,7 +395,7 @@
/* }}} end dom_element_set_attribute_node */
-/* {{{ proto domattr dom_element_remove_attribute_node(attr oldAttr);
+/* {{{ proto DOMAttr dom_element_remove_attribute_node(DOMAttr oldAttr);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-D589198
Since:
*/
@@ -433,7 +433,7 @@
/* }}} end dom_element_remove_attribute_node */
-/* {{{ proto domnodelist dom_element_get_elements_by_tag_name(string name);
+/* {{{ proto DOMNodeList dom_element_get_elements_by_tag_name(string name);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1938918D
Since:
*/
@@ -460,7 +460,7 @@
/* }}} end dom_element_get_elements_by_tag_name */
-/* {{{ proto domstring dom_element_get_attribute_ns(string namespaceURI, string
localName);
+/* {{{ proto string dom_element_get_attribute_ns(string namespaceURI, string
localName);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElGetAttrNS
Since: DOM Level 2
*/
@@ -501,7 +501,7 @@
/* }}} end dom_element_get_attribute_ns */
-/* {{{ proto dom_void dom_element_set_attribute_ns(string namespaceURI, string
qualifiedName, string value);
+/* {{{ proto void dom_element_set_attribute_ns(string namespaceURI, string
qualifiedName, string value);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElSetAttrNS
Since: DOM Level 2
*/
@@ -599,7 +599,7 @@
/* }}} end dom_element_set_attribute_ns */
-/* {{{ proto dom_void dom_element_remove_attribute_ns(string namespaceURI, string
localName);
+/* {{{ proto void dom_element_remove_attribute_ns(string namespaceURI, string
localName);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElRemAtNS
Since: DOM Level 2
*/
@@ -657,7 +657,7 @@
/* }}} end dom_element_remove_attribute_ns */
-/* {{{ proto domattr dom_element_get_attribute_node_ns(string namespaceURI, string
localName);
+/* {{{ proto DOMAttr dom_element_get_attribute_node_ns(string namespaceURI, string
localName);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElGetAtNodeNS
Since: DOM Level 2
*/
@@ -688,7 +688,7 @@
/* }}} end dom_element_get_attribute_node_ns */
-/* {{{ proto domattr dom_element_set_attribute_node_ns(attr newAttr);
+/* {{{ proto DOMAttr dom_element_set_attribute_node_ns(DOMAttr newAttr);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElSetAtNodeNS
Since: DOM Level 2
*/
@@ -754,7 +754,7 @@
-/* {{{ proto domnodelist dom_element_get_elements_by_tag_name_ns(string namespaceURI,
string localName);
+/* {{{ proto DOMNodeList dom_element_get_elements_by_tag_name_ns(string namespaceURI,
string localName);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-A6C90942
Since: DOM Level 2
*/
@@ -850,7 +850,7 @@
/* }}} end dom_element_has_attribute_ns */
-/* {{{ proto dom_void dom_element_set_id_attribute(string name, boolean isId);
+/* {{{ proto void dom_element_set_id_attribute(string name, boolean isId);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElSetIdAttr
Since: DOM Level 3
*/
@@ -861,7 +861,7 @@
/* }}} end dom_element_set_id_attribute */
-/* {{{ proto dom_void dom_element_set_id_attribute_ns(string namespaceURI, string
localName, boolean isId);
+/* {{{ proto void dom_element_set_id_attribute_ns(string namespaceURI, string
localName, boolean isId);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElSetIdAttrNS
Since: DOM Level 3
*/
@@ -872,7 +872,7 @@
/* }}} end dom_element_set_id_attribute_ns */
-/* {{{ proto dom_void dom_element_set_id_attribute_node(attr idAttr, boolean isId);
+/* {{{ proto void dom_element_set_id_attribute_node(attr idAttr, boolean isId);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElSetIdAttrNode
Since: DOM Level 3
*/
http://cvs.php.net/diff.php/php-src/ext/dom/entity.c?r1=1.6&r2=1.7&ty=u
Index: php-src/ext/dom/entity.c
diff -u php-src/ext/dom/entity.c:1.6 php-src/ext/dom/entity.c:1.7
--- php-src/ext/dom/entity.c:1.6 Mon Feb 16 08:06:33 2004
+++ php-src/ext/dom/entity.c Mon May 31 08:50:28 2004
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: entity.c,v 1.6 2004/02/16 13:06:33 rrichards Exp $ */
+/* $Id: entity.c,v 1.7 2004/05/31 12:50:28 rrichards Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -29,7 +29,7 @@
/*
-* class domentity extends domnode
+* class DOMEntity extends DOMNode
*
* URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-527DCFF2
* Since:
@@ -39,9 +39,7 @@
{NULL, NULL, NULL}
};
-/* {{{ attribute protos, not implemented yet */
-
-/* {{{ proto public_id string
+/* {{{ proto publicId string
readonly=yes
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-D7303025
Since:
@@ -71,7 +69,7 @@
-/* {{{ proto system_id string
+/* {{{ proto systemId string
readonly=yes
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-D7C29F3E
Since:
@@ -101,7 +99,7 @@
-/* {{{ proto notation_name string
+/* {{{ proto notationName string
readonly=yes
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-6ABAEB38
Since:
@@ -134,7 +132,7 @@
-/* {{{ proto actual_encoding string
+/* {{{ proto actualEncoding string
readonly=no
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Entity3-actualEncoding
Since: DOM Level 3
http://cvs.php.net/diff.php/php-src/ext/dom/entityreference.c?r1=1.10&r2=1.11&ty=u
Index: php-src/ext/dom/entityreference.c
diff -u php-src/ext/dom/entityreference.c:1.10 php-src/ext/dom/entityreference.c:1.11
--- php-src/ext/dom/entityreference.c:1.10 Thu May 27 07:15:45 2004
+++ php-src/ext/dom/entityreference.c Mon May 31 08:50:28 2004
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: entityreference.c,v 1.10 2004/05/27 11:15:45 rrichards Exp $ */
+/* $Id: entityreference.c,v 1.11 2004/05/31 12:50:28 rrichards Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -29,7 +29,7 @@
/*
-* class domentityreference extends domnode
+* class DOMEntityReference extends DOMNode
*
* URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-11C98490
* Since:
@@ -40,7 +40,7 @@
{NULL, NULL, NULL}
};
-/* {{{ proto void DomEntityReference::__construct(string name); */
+/* {{{ proto void DOMEntityReference::__construct(string name); */
PHP_METHOD(domentityreference, __construct)
{
zval *id;
@@ -81,5 +81,5 @@
}
}
-/* }}} end DomEntityReference::__construct */
+/* }}} end DOMEntityReference::__construct */
#endif
http://cvs.php.net/diff.php/php-src/ext/dom/namednodemap.c?r1=1.11&r2=1.12&ty=u
Index: php-src/ext/dom/namednodemap.c
diff -u php-src/ext/dom/namednodemap.c:1.11 php-src/ext/dom/namednodemap.c:1.12
--- php-src/ext/dom/namednodemap.c:1.11 Mon Mar 29 16:05:16 2004
+++ php-src/ext/dom/namednodemap.c Mon May 31 08:50:28 2004
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: namednodemap.c,v 1.11 2004/03/29 21:05:16 helly Exp $ */
+/* $Id: namednodemap.c,v 1.12 2004/05/31 12:50:28 rrichards Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -29,7 +29,7 @@
/*
-* class domnamednodemap
+* class DOMNamedNodeMap
*
* URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1780488922
* Since:
@@ -46,9 +46,7 @@
{NULL, NULL, NULL}
};
-/* {{{ attribute protos, not implemented yet */
-
-/* {{{ proto length unsigned long
+/* {{{ proto length int
readonly=yes
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-6D0FB19E
Since:
@@ -90,7 +88,7 @@
-/* {{{ proto domnode dom_namednodemap_get_named_item(string name);
+/* {{{ proto DOMNode dom_namednodemap_get_named_item(string name);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1074577549
Since:
*/
@@ -140,7 +138,7 @@
/* }}} end dom_namednodemap_get_named_item */
-/* {{{ proto domnode dom_namednodemap_set_named_item(node arg);
+/* {{{ proto DOMNode dom_namednodemap_set_named_item(DOMNode arg);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1025163788
Since:
*/
@@ -151,7 +149,7 @@
/* }}} end dom_namednodemap_set_named_item */
-/* {{{ proto domnode dom_namednodemap_remove_named_item(string name);
+/* {{{ proto DOMNode dom_namednodemap_remove_named_item(string name);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-D58B193
Since:
*/
@@ -162,7 +160,7 @@
/* }}} end dom_namednodemap_remove_named_item */
-/* {{{ proto domnode dom_namednodemap_item(unsigned long index);
+/* {{{ proto DOMNode dom_namednodemap_item(int index);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-349467F9
Since:
*/
@@ -217,7 +215,7 @@
/* }}} end dom_namednodemap_item */
-/* {{{ proto domnode dom_namednodemap_get_named_item_ns(string namespaceURI, string
localName);
+/* {{{ proto DOMNode dom_namednodemap_get_named_item_ns(string namespaceURI, string
localName);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-getNamedItemNS
Since: DOM Level 2
*/
@@ -267,7 +265,7 @@
/* }}} end dom_namednodemap_get_named_item_ns */
-/* {{{ proto domnode dom_namednodemap_set_named_item_ns(node arg);
+/* {{{ proto DOMNode dom_namednodemap_set_named_item_ns(DOMNode arg);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-setNamedItemNS
Since: DOM Level 2
*/
@@ -278,7 +276,7 @@
/* }}} end dom_namednodemap_set_named_item_ns */
-/* {{{ proto domnode dom_namednodemap_remove_named_item_ns(string namespaceURI,
string localName);
+/* {{{ proto DOMNode dom_namednodemap_remove_named_item_ns(string namespaceURI,
string localName);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-removeNamedItemNS
Since: DOM Level 2
*/
http://cvs.php.net/diff.php/php-src/ext/dom/namelist.c?r1=1.4&r2=1.5&ty=u
Index: php-src/ext/dom/namelist.c
diff -u php-src/ext/dom/namelist.c:1.4 php-src/ext/dom/namelist.c:1.5
--- php-src/ext/dom/namelist.c:1.4 Thu Jan 8 03:15:16 2004
+++ php-src/ext/dom/namelist.c Mon May 31 08:50:28 2004
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: namelist.c,v 1.4 2004/01/08 08:15:16 andi Exp $ */
+/* $Id: namelist.c,v 1.5 2004/05/31 12:50:28 rrichards Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -29,7 +29,7 @@
/*
-* class domnamelist
+* class DOMNameList
*
* URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#NameList
* Since: DOM Level 3
@@ -41,9 +41,7 @@
{NULL, NULL, NULL}
};
-/* {{{ attribute protos, not implemented yet */
-
-/* {{{ proto length unsigned long
+/* {{{ proto length int
readonly=yes
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#NameList-length
Since:
@@ -60,7 +58,7 @@
-/* {{{ proto domstring dom_namelist_get_name(unsigned long index);
+/* {{{ proto string dom_namelist_get_name(int index);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#NameList-getName
Since:
*/
@@ -71,7 +69,7 @@
/* }}} end dom_namelist_get_name */
-/* {{{ proto domstring dom_namelist_get_namespace_uri(unsigned long index);
+/* {{{ proto string dom_namelist_get_namespace_uri(int index);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#NameList-getNamespaceURI
Since:
*/
http://cvs.php.net/diff.php/php-src/ext/dom/node.c?r1=1.27&r2=1.28&ty=u
Index: php-src/ext/dom/node.c
diff -u php-src/ext/dom/node.c:1.27 php-src/ext/dom/node.c:1.28
--- php-src/ext/dom/node.c:1.27 Sun May 30 13:34:11 2004
+++ php-src/ext/dom/node.c Mon May 31 08:50:28 2004
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: node.c,v 1.27 2004/05/30 17:34:11 zeev Exp $ */
+/* $Id: node.c,v 1.28 2004/05/31 12:50:28 rrichards Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -28,7 +28,7 @@
#include "php_dom.h"
/*
-* class domnode
+* class DOMNode
*
* URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1950641247
* Since:
@@ -260,7 +260,7 @@
-/* {{{ proto nodeType unsigned short
+/* {{{ proto nodeType int
readonly=yes
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-111237558
Since:
@@ -292,7 +292,7 @@
-/* {{{ proto parentNode node
+/* {{{ proto parentNode DomNode
readonly=yes
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1060184317
Since:
@@ -327,7 +327,7 @@
-/* {{{ proto childNodes nodelist
+/* {{{ proto childNodes DomNodeList
readonly=yes
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1451460987
Since:
@@ -361,7 +361,7 @@
-/* {{{ proto firstChild node
+/* {{{ proto firstChild DomNode
readonly=yes
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-169727388
Since:
@@ -399,7 +399,7 @@
-/* {{{ proto lastChild node
+/* {{{ proto lastChild DomNode
readonly=yes
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-61AD09FB
Since:
@@ -437,7 +437,7 @@
-/* {{{ proto previousSibling node
+/* {{{ proto previousSibling DomNode
readonly=yes
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-640FB3C8
Since:
@@ -472,7 +472,7 @@
-/* {{{ proto nextSibling node
+/* {{{ proto nextSibling DomNode
readonly=yes
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-6AC54C2F
Since:
@@ -507,7 +507,7 @@
-/* {{{ proto attributes namednodemap
+/* {{{ proto attributes DomNamedNodeMap
readonly=yes
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-84CF096
Since:
@@ -541,7 +541,7 @@
-/* {{{ proto ownerDocument dom_document
+/* {{{ proto ownerDocument DomDocument
readonly=yes
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-node-ownerDoc
Since:
@@ -858,7 +858,7 @@
-/* {{{ proto domnode dom_node_insert_before(node newChild, node refChild);
+/* {{{ proto domnode dom_node_insert_before(DomNode newChild, DomNode refChild);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-952280727
Since:
*/
@@ -1011,7 +1011,7 @@
/* }}} end dom_node_insert_before */
-/* {{{ proto domnode dom_node_replace_child(node newChild, node oldChild);
+/* {{{ proto DomNode dom_node_replace_child(DomNode newChild, DomNode oldChild);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-785887307
Since:
*/
@@ -1092,7 +1092,7 @@
/* }}} end dom_node_replace_child */
-/* {{{ proto domnode dom_node_remove_child(node oldChild);
+/* {{{ proto DomNode dom_node_remove_child(DomNode oldChild);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1734834066
Since:
*/
@@ -1145,7 +1145,7 @@
/* }}} end dom_node_remove_child */
-/* {{{ proto domnode dom_node_append_child(node newChild);
+/* {{{ proto DomNode dom_node_append_child(DomNode newChild);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-184E7107
Since:
*/
@@ -1275,7 +1275,7 @@
/* }}} end dom_node_has_child_nodes */
-/* {{{ proto domnode dom_node_clone_node(boolean deep);
+/* {{{ proto DomNode dom_node_clone_node(boolean deep);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-3A0ED0A4
Since:
*/
@@ -1339,7 +1339,7 @@
-/* {{{ proto dom_void dom_node_normalize();
+/* {{{ proto void dom_node_normalize();
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-normalize
Since:
*/
@@ -1411,8 +1411,7 @@
}
/* }}} end dom_node_has_attributes */
-
-/* {{{ proto short dom_node_compare_document_position(node other);
+/* {{{ proto short dom_node_compare_document_position(DomNode other);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Node3-compareDocumentPosition
Since: DOM Level 3
*/
@@ -1423,7 +1422,7 @@
/* }}} end dom_node_compare_document_position */
-/* {{{ proto boolean dom_node_is_same_node(node other);
+/* {{{ proto boolean dom_node_is_same_node(DomNode other);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Node3-isSameNode
Since: DOM Level 3
*/
@@ -1450,7 +1449,7 @@
/* }}} end dom_node_is_same_node */
-/* {{{ proto domstring dom_node_lookup_prefix(string namespaceURI);
+/* {{{ proto string dom_node_lookup_prefix(string namespaceURI);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Node3-lookupNamespacePrefix
Since: DOM Level 3
*/
@@ -1532,7 +1531,7 @@
/* }}} end dom_node_is_default_namespace */
-/* {{{ proto domstring dom_node_lookup_namespace_uri(string prefix);
+/* {{{ proto string dom_node_lookup_namespace_uri(string prefix);
URL: http://www.w3.org/TR/DOM-Level-3-Core/core.html#Node3-lookupNamespaceURI
Since: DOM Level 3
*/
@@ -1563,7 +1562,7 @@
/* }}} end dom_node_lookup_namespace_uri */
-/* {{{ proto boolean dom_node_is_equal_node(node arg);
+/* {{{ proto boolean dom_node_is_equal_node(DomNode arg);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Node3-isEqualNode
Since: DOM Level 3
*/
@@ -1574,7 +1573,7 @@
/* }}} end dom_node_is_equal_node */
-/* {{{ proto domnode dom_node_get_feature(string feature, string version);
+/* {{{ proto DomNode dom_node_get_feature(string feature, string version);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Node3-getFeature
Since: DOM Level 3
*/
@@ -1585,7 +1584,7 @@
/* }}} end dom_node_get_feature */
-/* {{{ proto domuserdata dom_node_set_user_data(string key, domuserdata data,
userdatahandler handler);
+/* {{{ proto DomUserData dom_node_set_user_data(string key, DomUserData data,
userdatahandler handler);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Node3-setUserData
Since: DOM Level 3
*/
@@ -1596,7 +1595,7 @@
/* }}} end dom_node_set_user_data */
-/* {{{ proto domuserdata dom_node_get_user_data(string key);
+/* {{{ proto DomUserData dom_node_get_user_data(string key);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Node3-getUserData
Since: DOM Level 3
*/
http://cvs.php.net/diff.php/php-src/ext/dom/nodelist.c?r1=1.13&r2=1.14&ty=u
Index: php-src/ext/dom/nodelist.c
diff -u php-src/ext/dom/nodelist.c:1.13 php-src/ext/dom/nodelist.c:1.14
--- php-src/ext/dom/nodelist.c:1.13 Wed Mar 31 12:18:59 2004
+++ php-src/ext/dom/nodelist.c Mon May 31 08:50:28 2004
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: nodelist.c,v 1.13 2004/03/31 17:18:59 rrichards Exp $ */
+/* $Id: nodelist.c,v 1.14 2004/05/31 12:50:28 rrichards Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -29,7 +29,7 @@
/*
-* class domnodelist
+* class DOMNodeList
*
* URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-536297177
* Since:
@@ -40,9 +40,7 @@
{NULL, NULL, NULL}
};
-/* {{{ attribute protos, not implemented yet */
-
-/* {{{ proto length unsigned long
+/* {{{ proto length int
readonly=yes
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-203510337
Since:
@@ -95,7 +93,7 @@
/* }}} */
-/* {{{ proto domnode dom_nodelist_item(unsigned long index);
+/* {{{ proto DOMNode dom_nodelist_item(int index);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-844377136
Since:
*/
http://cvs.php.net/diff.php/php-src/ext/dom/notation.c?r1=1.6&r2=1.7&ty=u
Index: php-src/ext/dom/notation.c
diff -u php-src/ext/dom/notation.c:1.6 php-src/ext/dom/notation.c:1.7
--- php-src/ext/dom/notation.c:1.6 Mon Feb 16 08:06:33 2004
+++ php-src/ext/dom/notation.c Mon May 31 08:50:28 2004
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: notation.c,v 1.6 2004/02/16 13:06:33 rrichards Exp $ */
+/* $Id: notation.c,v 1.7 2004/05/31 12:50:28 rrichards Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -29,7 +29,7 @@
/*
-* class domnotation extends domnode
+* class DOMNotation extends DOMNode
*
* URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-5431D1B9
* Since:
@@ -41,7 +41,7 @@
/* {{{ attribute protos, not implemented yet */
-/* {{{ proto public_id string
+/* {{{ proto publicId string
readonly=yes
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-54F2B4D0
Since:
@@ -71,7 +71,7 @@
-/* {{{ proto system_id string
+/* {{{ proto systemId string
readonly=yes
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-E8AAB1D0
Since:
http://cvs.php.net/diff.php/php-src/ext/dom/processinginstruction.c?r1=1.14&r2=1.15&ty=u
Index: php-src/ext/dom/processinginstruction.c
diff -u php-src/ext/dom/processinginstruction.c:1.14
php-src/ext/dom/processinginstruction.c:1.15
--- php-src/ext/dom/processinginstruction.c:1.14 Thu May 27 07:15:45 2004
+++ php-src/ext/dom/processinginstruction.c Mon May 31 08:50:28 2004
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: processinginstruction.c,v 1.14 2004/05/27 11:15:45 rrichards Exp $ */
+/* $Id: processinginstruction.c,v 1.15 2004/05/31 12:50:28 rrichards Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -29,7 +29,7 @@
/*
-* class domprocessinginstruction extends domnode
+* class DOMProcessingInstruction extends DOMNode
*
* URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-1004215813
* Since:
@@ -40,7 +40,7 @@
{NULL, NULL, NULL}
};
-/* {{{ proto void DomProcessingInstruction::__construct(string name, [string value]);
*/
+/* {{{ proto void DOMProcessingInstruction::__construct(string name, [string value]);
*/
PHP_METHOD(domprocessinginstruction, __construct)
{
@@ -80,7 +80,7 @@
php_libxml_increment_node_ptr((php_libxml_node_object *)intern, nodep,
(void *)intern TSRMLS_CC);
}
}
-/* }}} end DomProcessingInstruction::__construct */
+/* }}} end DOMProcessingInstruction::__construct */
/* {{{ proto target string
readonly=yes
http://cvs.php.net/diff.php/php-src/ext/dom/text.c?r1=1.19&r2=1.20&ty=u
Index: php-src/ext/dom/text.c
diff -u php-src/ext/dom/text.c:1.19 php-src/ext/dom/text.c:1.20
--- php-src/ext/dom/text.c:1.19 Sun May 16 06:30:16 2004
+++ php-src/ext/dom/text.c Mon May 31 08:50:28 2004
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: text.c,v 1.19 2004/05/16 10:30:16 rrichards Exp $ */
+/* $Id: text.c,v 1.20 2004/05/31 12:50:28 rrichards Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -29,7 +29,7 @@
#include "dom_ce.h"
/*
-* class domtext extends domcharacterdata
+* class DOMText extends DOMCharacterData
*
* URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-1312295772
* Since:
@@ -43,7 +43,7 @@
{NULL, NULL, NULL}
};
-/* {{{ proto void DomText::__construct([string value]); */
+/* {{{ proto void DOMText::__construct([string value]); */
PHP_METHOD(domtext, __construct)
{
@@ -76,7 +76,7 @@
php_libxml_increment_node_ptr((php_libxml_node_object *)intern, nodep,
(void *)intern TSRMLS_CC);
}
}
-/* }}} end DomText::__construct */
+/* }}} end DOMText::__construct */
/* {{{ proto wholeText string
readonly=yes
@@ -107,7 +107,7 @@
/* }}} */
-/* {{{ proto domtext dom_text_split_text(unsigned long offset);
+/* {{{ proto DOMText dom_text_split_text(int offset);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-38853C1D
Since:
*/
@@ -133,7 +133,7 @@
RETURN_FALSE;
}
- cur = xmlNodeListGetString(node->doc, node, 1);
+ cur = xmlNodeGetContent(node);
if (cur == NULL) {
RETURN_FALSE;
}
@@ -190,7 +190,7 @@
/* }}} end dom_text_is_whitespace_in_element_content */
-/* {{{ proto domtext dom_text_replace_whole_text(string content);
+/* {{{ proto DOMText dom_text_replace_whole_text(string content);
URL:
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Text3-replaceWholeText
Since: DOM Level 3
*/
http://cvs.php.net/diff.php/php-src/ext/dom/xpath.c?r1=1.21&r2=1.22&ty=u
Index: php-src/ext/dom/xpath.c
diff -u php-src/ext/dom/xpath.c:1.21 php-src/ext/dom/xpath.c:1.22
--- php-src/ext/dom/xpath.c:1.21 Sun May 16 06:30:16 2004
+++ php-src/ext/dom/xpath.c Mon May 31 08:50:28 2004
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: xpath.c,v 1.21 2004/05/16 10:30:16 rrichards Exp $ */
+/* $Id: xpath.c,v 1.22 2004/05/31 12:50:28 rrichards Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -29,7 +29,7 @@
/*
-* class domxpath
+* class DOMXPath
*/
#if defined(LIBXML_XPATH_ENABLED)
@@ -41,7 +41,7 @@
{NULL, NULL, NULL}
};
-/* {{{ proto void DomXPath::__construct(domDocument doc); */
+/* {{{ proto void DOMXPath::__construct(DOMDocument doc); */
PHP_METHOD(domxpath, __construct)
{
zval *id, *doc;
@@ -76,9 +76,9 @@
php_libxml_increment_doc_ref((php_libxml_node_object *)intern, docp
TSRMLS_CC);
}
}
-/* }}} end DomXPath::__construct */
+/* }}} end DOMXPath::__construct */
-/* {{{ proto domdocument document document */
+/* {{{ proto document DOMDocument*/
int dom_xpath_document_read(dom_object *obj, zval **retval TSRMLS_DC)
{
xmlDoc *docp = NULL;
@@ -136,7 +136,7 @@
}
-/* {{{ proto domnodelist dom_xpath_query(string expr [,domNode context]); */
+/* {{{ proto DOMNodeList dom_xpath_query(string expr [,DOMNode context]); */
PHP_FUNCTION(dom_xpath_query)
{
zval *id, *retval, *context = NULL;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php