View Single Post
Old 02-02-2013, 08:56 AM   #4
cherubchops
Junior Member
cherubchops began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Feb 2013
Device: kindle
Hello,
Sorry, here's the code and error message. It's definitely to do with footnotes in the text.

ERROR: /OEPS/Text/001_split_053.html(1939): value of attribute "id" is invalid; must be an XML name without colons
ERROR: /OEPS/Text/001_split_053.html(1945): value of attribute "id" is invalid; must be an XML name without colons

Line 1939:
<p class="body">5th Division.: Warren.<sup class="calibre17"><a href="../Text/ft_001.html" id="1">{1}</a></sup></p>

Line 1945:
<p class="body">10th Division:<sup class="calibre17"><a href="../Text/ft_002.html" id="2">{2}</a></sup> Sir A. Hunter.</p>


Here's the footnote code bit (but there;s no error listed here, but just in case):

<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!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>
<meta content="DOCX Input by SauliusP., v0.0.22" name="Generator" />

<title>ft_001</title>
<link href="../Styles/stylesheet.css" rel="stylesheet" type="text/css" />
<link href="../Styles/page_styles.css" rel="stylesheet" type="text/css" />
</head>

<body class="calibre">
<p class="calibre18"><sup class="calibre17"><a href="../Text/001_split_053.html#1">{1}</a></sup></p>

<p class="footnotetext">Relieved on account of his failure at Spion Kop, and sent to the western theatre on duty other than that at the front. Hildyard placed in command May 1st.</p>
</body>
</html>


and the second footnote code bit:
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!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>
<meta content="DOCX Input by SauliusP., v0.0.22" name="Generator" />

<title>ft_002</title>
<link href="../Styles/stylesheet.css" rel="stylesheet" type="text/css" />
<link href="../Styles/page_styles.css" rel="stylesheet" type="text/css" />
</head>

<body class="calibre">
<p class="calibre18"><sup class="calibre17"><a href="../Text/001_split_053.html#2">{2}</a></sup></p>

<p class="footnotetext">Early in April Hart's Brigade was transferred to the western theatre to join Brabant. Barton's followed and was sent to Kimberley.</p>
</body>
</html>



If you can help, would be very grateful!
cherubchops is offline   Reply With Quote