Thread: PRS-500 HTML2LRF
View Single Post
Old 01-04-2007, 03:30 AM   #46
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,451
Karma: 4961459
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Another problem I'm afraid
Code:
java -jar ./BBeBook.jar Test.xml
Error parsing metadata: internal error in parseEpilog
org.xmlpull.v1.XmlPullParserException: internal error in parseEpilog
        at org.xmlpull.mxp1.MXParser.parseEpilog(MXParser.java:1655)
        at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1393)
        at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)
        at BBeBook.parseConfig(BBeBook.java:729)
        at BBeBook.makeBookFromXmlConfig(BBeBook.java:665)
        at BBeBook.makeBook(BBeBook.java:604)
        at BBeBook.main(BBeBook.java:292)
No <Output> in config file.

cat Test.xml
<File>/home/kovid/documents/ebooks/temp/Test.html</File>
<Output>/home/kovid/documents/ebooks/temp/Test.lrf</Output>
<Icon>/home/kovid/work/prs-500/libprs500/lrf/cover.jpg</Icon>
<Title>Test.html</Title>
<Author>Unknown</Author>
<Label>Test.html</Label>
<BookID>20e4e18dfae3d1b38df3bce24863b74d</BookID>
EDIT: Nevermind, it just needed to be wrapped in a document element

Last edited by kovidgoyal; 01-04-2007 at 03:47 AM.
kovidgoyal is offline   Reply With Quote