Answers.Body: <p>A quick fix on top of &quot;<strong>Tools &gt; Upgrade book internals</strong>&quot; is to add the following HTML attribute for html files that uses &quot;epub:type&quot;</p>
  <p>&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; <strong>xmlns:epub=&quot;http://www.idpf.org/2007/ops&quot;</strong>&gt;</p>
  <p>Do take note that after you did the &quot;<strong>Upgrade book internals</strong>&quot; once, your subsequent HTML files will not have the <strong>xmlns:epub</strong> attribute. Running &quot;<strong>Upgrade book internals</strong>&quot; again will still give you the error as the <strong>xmlns:epub</strong> attribute is not added into the new HTML file. Hence, it is good to paste manually.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-11-13T14:56:30.137Z
Answers.LastActivityDate: 2022-11-13T14:56:30.137Z
Answers.UserDisplayName: Fong Kah Chun
Body: <p><a href="https://i.sstatic.net/fKcL5.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/fKcL5.png" alt="enter image description here"></a>I get these two errors:</p>
  
  <p>ERROR(RSC-005): Error while parsing file 'attribute "epub:type" not allowed here;</p>
  
  <p>ERROR(RSC-005): Error while parsing file 'element "aside" not allowed anywhere;</p>
  
  <p>How can I remove them? I want to use pop-up footnotes with epub3.</p>
  
  <p>Regards Dan</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-10-28T11:18:48.440Z
Comments.Text: Welcome to ebooks-SE. We try to keep thanks to a minimum as it is overhead for most readers. You should **never use an answer for thanking, or even for discussing**. For that purpose, you can use comments, or possibly editing a previous post. Comments require minimum reputation of 50, but there is an exception when you authored the question, or if you wrote the commented answer. Hence your thanks will be deleted (You cannot do it yourself ... but do not worry). See https://meta.stackexchange.com/questions/214173/why-do-i-need-50-reputation-to-comment-what-can-i-do-instead
Comments.UserDisplayName: babou
Tags: <epub><calibre><epubcheck><footnotes>
Title: EpubCheck in Calibre gives errors with epub:type and aside
UserDisplayName: Dan
ThreadText: # EpubCheck in Calibre gives errors with epub:type and aside
  
  (Asked by: username_0 on 2018-10-25)
  
  [![enter image description here](https://i.sstatic.net/fKcL5.png)](https://i.sstatic.net/fKcL5.png)I get these two errors:
  
  ERROR(RSC-005): Error while parsing file 'attribute "epub:type" not allowed here;
  
  ERROR(RSC-005): Error while parsing file 'element "aside" not allowed anywhere;
  
  How can I remove them? I want to use pop-up footnotes with epub3.
  
  Regards Dan
  
  **Tags:** epub, calibre, epubcheck, footnotes
  
  > **Comments:**
  > **username_1**: Welcome to ebooks-SE. We try to keep thanks to a minimum as it is overhead for most readers. You should **never use an answer for thanking, or even for discussing**. For that purpose, you can use comments, or possibly editing a previous post. Comments require minimum reputation of 50, but there is an exception when you authored the question, or if you wrote the commented answer. Hence your thanks will be deleted (You cannot do it yourself ... but do not worry). See https://meta.stackexchange.com/questions/214173/why-do-i-need-50-reputation-to-comment-what-can-i-do-instead  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2022-11-13. Score: 0
  
  A quick fix on top of "**Tools > Upgrade book internals**" is to add the following HTML attribute for html files that uses "epub:type"
  
  <html xmlns="http://www.w3.org/1999/xhtml" **xmlns:epub="http://www.idpf.org/2007/ops"**>
  
  Do take note that after you did the "**Upgrade book internals**" once, your subsequent HTML files will not have the **xmlns:epub** attribute. Running "**Upgrade book internals**" again will still give you the error as the **xmlns:epub** attribute is not added into the new HTML file. Hence, it is good to paste manually.
  
  
  ---
  
  