Originally Posted by Toxaris
I also found that epubcheck doesn't like it when you use upper and lowercase mixed. So for example <P>...</p>. So make sure you either do only upper or lowercase to avoid confusion.
XHTML is case-sensitive. <p> and <P> are not the same tag. Epubcheck is correct in pointing out a problem here.