diff options
author | Rob Richards <rrichards@php.net> | 2004-05-16 10:30:16 +0000 |
---|---|---|
committer | Rob Richards <rrichards@php.net> | 2004-05-16 10:30:16 +0000 |
commit | 9e3956b313ef74f0e7c4881ca39c9395036d45bb (patch) | |
tree | f14ce42a575f226ac068b10f216df59c04c32896 /ext/dom/dom_fe.h | |
parent | 92c72cb8d85d9115c08f857f2237bd532848a786 (diff) | |
download | php-git-9e3956b313ef74f0e7c4881ca39c9395036d45bb.tar.gz |
constructors throw DOMException
add DOM_PHP_ERR DomException code
validate tagnames in constructors
use C style comments
update TODO
Diffstat (limited to 'ext/dom/dom_fe.h')
-rw-r--r-- | ext/dom/dom_fe.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/ext/dom/dom_fe.h b/ext/dom/dom_fe.h index 511708a0a1..3d860a54be 100644 --- a/ext/dom/dom_fe.h +++ b/ext/dom/dom_fe.h @@ -54,6 +54,8 @@ extern zend_function_entry php_dom_xpath_class_functions[]; /* domexception errors */ typedef enum { +/* PHP_ERR is non-spec code for PHP errors: */ + PHP_ERR = 0, INDEX_SIZE_ERR = 1, DOMSTRING_SIZE_ERR = 2, HIERARCHY_REQUEST_ERR = 3, @@ -64,17 +66,17 @@ typedef enum { NOT_FOUND_ERR = 8, NOT_SUPPORTED_ERR = 9, INUSE_ATTRIBUTE_ERR = 10, -// Introduced in DOM Level 2: +/* Introduced in DOM Level 2: */ INVALID_STATE_ERR = 11, -// Introduced in DOM Level 2: +/* Introduced in DOM Level 2: */ SYNTAX_ERR = 12, -// Introduced in DOM Level 2: +/* Introduced in DOM Level 2: */ INVALID_MODIFICATION_ERR = 13, -// Introduced in DOM Level 2: +/* Introduced in DOM Level 2: */ NAMESPACE_ERR = 14, -// Introduced in DOM Level 2: +/* Introduced in DOM Level 2: */ INVALID_ACCESS_ERR = 15, -// Introduced in DOM Level 3: +/* Introduced in DOM Level 3: */ VALIDATION_ERR = 16 } dom_exception_code; |