Edit report at http://bugs.php.net/bug.php?id=52375&edit=1
ID: 52375 Updated by: ahar...@php.net Reported by: giorgio dot liscio at email dot it Summary: implement missing constructors in dom classes -Status: Open +Status: Bogus Type: Bug Package: DOM XML related Operating System: all PHP Version: 5.3.2 New Comment: This is intentional: the underlying library (libxml2) requires those objects to be attached to a document instance, and the DOMDocument::create* methods are also the ones specified in the DOM standard as the way to create those particular objects. Previous Comments: ------------------------------------------------------------------------ [2010-07-19 08:12:06] giorgio dot liscio at email dot it Description: ------------ hi, for example DOMCharacterData has no constructor the only way i can create an instance is using a document instance in plus php throws Warning: main() [function.main]: Invalid State Error in ..... some of missing constructors are new DOMCharacterData new DOMDocumentFragment new DOMDocumentType etc. thank you for this lib, i hope to help you finding bugs bye ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=52375&edit=1