View Single Post
Old 08-04-2013, 03:11 PM   #9
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,308
Karma: 78876004
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Seeing an issue in Sigil 7.3 on an ePub that opens correctly ib 7.2.

On opening receive the following message
Spoiler:
Code:
This EPUB contains errors.
Cannot perform HTML updates since the file is not well formed: ded.htm


ded.html does contain an  

Additionally, a reference to a PNG graphic in ded.html that used to be displayed in bookview in 7.2 now appears as a square box with no content.

Spoiler:
Code:
<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
  <head>
    <title>Airborn</title>
    <link href="style.css" rel="stylesheet" type="text/css"/>
    <meta content="urn:uuid:38fc48eb-820a-49f9-a453-94c4a679d966" name="Adept.expected.resource"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  </head>
  <body>
<div class="chapter">
<p class="center"><em>For Philippa, Sophia and Nathaniel</em></p>
<p class="pagebreak">&nbsp;</p>
<p class="center"><img alt="" src="images/9-1.png"/></p>
</div>
</body>
</html>


Flightcrew presented no errors in 7.2; 7.3 gives errors on images/9-1.png and entity 'nbsp' not found.

What is interesting, is that when I use 7.2, the above page references
Code:
<p class="center"><img alt="" src="../Images/9-1.png"/></p>
while the 7.3 version references
Code:
<p class="center"><img alt="" src="images/9-1.png"/></p>
Note the case of the images directory, and the relative / absolute pathing to it.

The original ePub when opened via WinZip has the following
Spoiler:
Code:
<p class="center"><em>For Philippa, Sophia and Nathaniel</em></p>
<p class="pagebreak">*</p>
<p class="center"><img alt="" src="images/9-1.png"/></p>
where the character after pagebreak appears in a hex debugger as hex C2, hex A0.
PeterT is offline   Reply With Quote