splitbrain/php-epub-meta

Crashed when creating new Epub object

Closed this issue · 1 comments

I was trying to use your Epub class to get meta info of epub file on the server side.
But when I create new object, I get crash following:

DOMDocument::registerNodeClass() expects parameter 2 to be a valid class name, 'EPubDOMElement' given.

I found this has been occurred in #160 line of epub.php.
I look forward your solution for this issue.
Thanks for your great working.

Oh I found the reason its related with namespace for EPubDOMElement in 2nd parameter for registerNodeClass()