Thread: Parsing errors
View Single Post
Old 08-14-2026, 12:38 PM   #8
thiago.eec
Wizard
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 1,376
Karma: 1589505
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Quote:
Originally Posted by Gaia Neos View Post
Here's the html of the page with the span element parsing error:

<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<title>Unknown</title>

<link rel="stylesheet" type="text/css" href="stylesheet.css"/>
<link rel="stylesheet" type="text/css" href="page_styles.css"/>
</head>
<body class="calibre">
<p class="block_25" lang="en">Green Transport</p>
<p class="block_19">*</p>
<p class="block_15" lang="en">“Fossil fuel” transportation, such as cars, lorries and aeroplanes, create massive amounts of pollution. Electric cars are currently produced in a way that is harmful to the environment, and they give off radiation. </p>
<p class="block_15"><span lang="en"><span class="calibre4"> It is possible to power cars, lorries and aeroplanes with renewable energy, and to make them out of recyclable materials. Henry Ford made a car out of Hemp, and he powered it with Hemp.</span></span><span lang="en"> An aeroplane has now been made out of hemp. Electric cars were common a hundred years ago before the petroleum industry became so influential. Electric car batteries don’t need to use cobalt and lithium, they can use hemp batteries or even run on water.</span></p>
<p class="block_29" lang="en">Cycling is much better for the environment, and for health. Public transportation is also much more efficient and some countries are starting to power public transport with renewable energy. Walking is even better for the environment.</p>
<p class="block_29" lang="en">Ride sharing and carpooling is a greener way to get around. Instead of thousands of cars each carrying one person, we can take turns giving lifts to friends and colleagues.</p>
<p class="block_19">*</p>
<p class="block_2">*</p><span lang="en"><br class="calibre7" id="calibre_pb_45"/>
</span>
<p></p>
</body></html>
You cannot have a <span> tag as a child of <body>. Either remove the bold part above, or change it to:
Code:
<p><span lang="en"><br class="calibre7" id="calibre_pb_45"/></span></p>
Quote:
Originally Posted by Gaia Neos View Post
Here's the html of the page with the brclass parsing error:

<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<title>green living guide ebook nopagenos</title>
<link type="text/css" rel="stylesheet" href="page_styles.css"/>
<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
</head><body><p class="block_54" lang="en"><brclass__calibre8_/></p>
<p class="block_54" lang="en">Uses for a Bucket</p>
<p class="block_55" lang="en">Rainwater harvesting, growing vegetables, container, bird house, brewing, bin, compost toilet, water filter, stool, washing machine, bike storage, hose storage, fire extinguisher, carrying things, backpack, shower, storage, sink for washing dishes, swing, stilts, mouse trap, bee hive, drum, snow brick mould, compost bin, auto feeder…</p>
<p class="block_53" lang="en" id="calibre_pb_46">*</p>


</body></html>

Thanks
The bold part is malformed. It should be:
Code:
<br class="calibre8"/>
Quote:
Originally Posted by Gaia Neos View Post
(RSC-005): /content.opf: Error while parsing file: element "guide" incomplete; missing required element "reference"
This parsing error wasn't fixed by connecting the pages in set semantics
Like @DNSB said. Post your OPF code.
thiago.eec is offline   Reply With Quote