From:             
Operating system: Irrelevant
PHP version:      5.3.6
Package:          DOM XML related
Bug Type:         Bug
Bug description:missing error constants in DOMException

Description:
------------
hi, 

the exception constants are not defined in DOMException class



here are the dom2 constants:

const unsigned short      INDEX_SIZE_ERR                 = 1;

const unsigned short      DOMSTRING_SIZE_ERR             = 2;

const unsigned short      HIERARCHY_REQUEST_ERR          = 3;

const unsigned short      WRONG_DOCUMENT_ERR             = 4;

const unsigned short      INVALID_CHARACTER_ERR          = 5;

const unsigned short      NO_DATA_ALLOWED_ERR            = 6;

const unsigned short      NO_MODIFICATION_ALLOWED_ERR    = 7;

const unsigned short      NOT_FOUND_ERR                  = 8;

const unsigned short      NOT_SUPPORTED_ERR              = 9;

const unsigned short      INUSE_ATTRIBUTE_ERR            = 10;

const unsigned short      INVALID_STATE_ERR              = 11;

const unsigned short      SYNTAX_ERR                     = 12;

const unsigned short      INVALID_MODIFICATION_ERR       = 13;

const unsigned short      NAMESPACE_ERR                  = 14;

const unsigned short      INVALID_ACCESS_ERR             = 15;






-- 
Edit bug report at http://bugs.php.net/bug.php?id=54967&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=54967&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=54967&r=trysnapshot53
Try a snapshot (trunk):              
http://bugs.php.net/fix.php?id=54967&r=trysnapshottrunk
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=54967&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=54967&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=54967&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=54967&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=54967&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=54967&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=54967&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=54967&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=54967&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=54967&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=54967&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=54967&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=54967&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=54967&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=54967&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=54967&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=54967&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=54967&r=mysqlcfg

Reply via email to