Quote:
Originally Posted by doubleshuffle
A related question: It has happened to me once or twice that after a code clean-up there would be some paragraphs of text without any tags around them. Is there an easy, regex-y way of spotting them? In my cases they were always at chapter starts, so weren't hard to find, but there might be other situations.
|
EpubCheck detects these paragraphs and displays the following message:
Code:
ERROR(RSC-005): Error while parsing file: text not allowed here; expected
the element end-tag or element "address", "blockquote", "del", "div", "dl",
"h1", "h2", "h3", "h4", "h5", "h6", "hr", "ins", "noscript", "ns:svg", "ol",
"p", "pre", "script", "table" or "ul" (with xmlns:ns="http://www.w3.org/2000/svg")
FlightCrew also detects them and displays the following message:
Code:
Error schema not satisfied : no character data is allowed by content model
near column 1