Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

This page contains the following errors: error on line 18 at column 11: attributes construct error

Status
Not open for further replies.

ralphiedee

Technical User
Nov 20, 2002
1
I cannot find out what this error means, can someone have a quick look and let me know what it is. I have been up all night and I need a set of fresh eyes, anybody?

code is below

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "<html xmlns=" xmlns:epub=" xmlns:ibooks="
<head>
<meta name="viewport" CONTENT="width=738,height=985"></meta>
<meta CONTENT="text/html; charset=UTF-8"></meta>
<title>Xxxxx</title>
<link HREF="css/3950906A-0B6A-46CA-958A-9DB22A232ED5.css" TYPE="text/css" REL="stylesheet"></link>
</head>

<body>

<div CLASS="page">
<span id="word0"></span>
<img CLASS="background" SRC="images/79DA61A7-41C9-43B7-889D-9B791F171D28.jpg" ALT="image" />

<img CLASS="ibooks-media-audio"data-ibooks-audio-src="audio/nigerianNumbersPage1.m4a"
id="image1" SRC="images/2445D9BD-1619-40A9-A1C6-D159EE05DC84.jpg" ALT="image" />
<p>
<br/>
</p>
</div>

</body>
</html>
 
Hi there!

Attributes need to be separated by spaces if I'm not mistaken.
So your error would be with this line:
Code:
<img CLASS="ibooks-media-au[b][COLOR=#CC0000]dio"dat[/color][/b]a-ibooks-audio-src="audio/nigerianNumbersPage1.m4a"
id="image1" SRC="images/2445D9BD-1619-40A9-A1C6-D159EE05DC84.jpg" ALT="image" />
Change it thus:
Code:
<img CLASS="ibooks-media-au[b][COLOR=#CC0000]dio" dat[/color][/b]a-ibooks-audio-src="audio/nigerianNumbersPage1.m4a" id="image1" SRC="images/2445D9BD-1619-40A9-A1C6-D159EE05DC84.jpg" ALT="image" />

Plus: it is not all too good practice to mix uppercase and lowercase attribute names like this. Better stick to one convention as to avoid any kind of confusion. XML is case sensitive after all.

Cheers,
MakeItSo

“Knowledge is power. Information is liberating. Education is the premise of progress, in every society, in every family.” (Kofi Annan)
Oppose SOPA, PIPA, ACTA; measures to curb freedom of information under whatever name whatsoever.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top