andreareider / epubcheck

Automatically exported from code.google.com/p/epubcheck
0 stars 0 forks source link

Incorrent validation of <del> and <ins> #293

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
epubcheck claims that <del> and <ins> are only allowed to have the attributes 
cite and datetime. This is wrong. Try validating the XHTML pasted below with 
the w3c validator:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" 
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>a-test</title></head>
<body >                                                                         

<p><del class="color">italic.</del>                                             

</p>    
</body> 
</html> 

You will see that <del class="color> is perfectly valid.

Original issue reported on code.google.com by adse...@calibre-ebook.com on 1 Aug 2013 at 11:39

GoogleCodeExporter commented 8 years ago
THIS ISSUE MOVED TO GITHUB:
https://github.com/IDPF/epubcheck/issues/

Original comment by rdeltour@gmail.com on 7 Nov 2013 at 10:49