【发布时间】:2012-05-21 13:41:18
【问题描述】:
我从 epubcheck 获得了一些似乎没有意义的输出。我不明白错误消息的含义,希望其他人能提供帮助。
epubcheck 的输出是:
Epubcheck Version 3.0b4
Validating against EPUB version 2.0
ERROR: /path/to/my/book.epub/sub_html_file.html(134,117): text not allowed here; expected element "td" or "th"
然后还有数百条其他消息。有问题的文件的第 134 行看起来像
<hr class="calibre29"/>
<table border="0" cellpadding="0" cellspacing="0" class="calibre53">
<tr class="calibre56"> 1
<td class="calibre55" valign="top">
<p class="calibre30"><span class="calibre21"><strong class="calibre8">Person(s)</strong></span></p>
</td>
让我感到困惑的是,该行的第 117 位以td 开头,这就是epubcheck 所说的要求。
【问题讨论】: