Go Back   CodingForums.com > :: Client side development > XML

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-02-2012, 02:06 PM   PM User | #1
ralphiedee
New Coder

 
Join Date: Feb 2009
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
ralphiedee is an unknown quantity at this point
This page contains the following errors: error on line 18 at column 11: attributes co

I'm having problems identifying what is causing this error, any help with a fresh set of eyes?
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!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" xmlns:epub="http://www.idpf.org/2007/ops" xmlns:ibooks="http://apple.com/ibooks/html-extensions">

<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>

Last edited by Alex Vincent; 09-02-2012 at 04:22 PM.. Reason: adding code tags
ralphiedee is offline   Reply With Quote
Old 09-02-2012, 04:24 PM   PM User | #2
Alex Vincent
Moderator


 
Join Date: May 2002
Location: Hayward, CA
Posts: 1,427
Thanks: 1
Thanked 19 Times in 17 Posts
Alex Vincent is on a distinguished road
Two possible problems:

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

1. no space after the closing quote of the attribute
2. no element started for the self-closing tag (you closed it earlier)
__________________
"The first step to confirming there is a bug in someone else's work is confirming there are no bugs in your own."
June 30, 2001
author, Verbosio prototype XML Editor
author, JavaScript Developer's Dictionary
https://alexvincent.us/blog
Alex Vincent is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:38 AM.


Advertisement
Log in to turn off these ads.