Grandt / PHPePub

PHP Classes for dynamically generating EPub files.
http://www.phpclasses.org/package/6115
241 stars 83 forks source link

DOMDocument::loadXML() error #15

Closed leikxile closed 10 years ago

leikxile commented 10 years ago

Hi i am having this error when i am trying to put this line of code for every page in the chapter

the code is <span epub:type='pagebreak' id='page1' title='1' />

This gives me an error

Warning: DOMDocument::loadXML() [domdocument.loadxml]: Namespace prefix epub for type on span is not defined in Entity, line: 165 in C:\wamp\www\Dropbox\Audra\Basic Editor\Beta 1.0\basiceditor\lib_epub\EPub.php on line 699

Grandt commented 10 years ago

Can you send me an example of the HTML you are trying to parse to php@grandt.com ? I have a suspicion, but I need to have a look at it to be sure.

Grandt commented 10 years ago

Please check if the EPub.php in the 3.20 branch solves your problem.

leikxile commented 10 years ago

Issue has been fixed thank you!

Grandt commented 10 years ago

Resolved, closing.