By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,494 Members | 1,957 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,494 IT Pros & Developers. It's quick & easy.

XHTML Error???

P: n/a
When trying to validate the page
<http://thecapitalscot.com/faq_capscot.html#Boadecia> I get the
following error message that I cannot overcome. Can anyone see an
XHTML error in the referenced line?
<p>For more information on this topic see <a
href="http://www.gallica.co.uk/celts/boudica.htm">http://www.gallica.co.
uk/celts/boudica.htm</a>&nbsp;&nbsp;and&nbsp;&nbsp;some serendipity at
<a
href="http://www.amadan.org/HDR/archives/CIARAN9.TXT">http://www.amadan.
org/HDR/archives/CIARAN9.TXT</a></p>.

1. Line 501, column 293: character data is not allowed here

....org/HDR/archives/CIARAN9.TXT</a></p>.

You have used character data somewhere it is not permitted to
appear. Mistakes that can cause this error include putting text
directly in the body of the document without wrapping it in a container
element (such as a <p>aragraph</p>) or forgetting to quote an attribute
value (where characters such as "%" and "/" are common, but cannot
appear without surrounding quotes).
Jul 20 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
James B. MacGregor wrote:
When trying to validate the page
<http://thecapitalscot.com/faq_capscot.html#Boadecia> I get the
following error message that I cannot overcome. Can anyone see an
XHTML error in the referenced line?
1. Line 501, column 293: character data is not allowed here

....org/HDR/archives/CIARAN9.TXT</a></p>.

What about the '.' appearing after the closing paragraph tag ?

--
Bertrand Mollinier Toublet
"Breathtaking C++, Amazing C99, Fabulous C90."
-- Greg Comeau
Jul 20 '05 #2

P: n/a
James B. MacGregor wrote:
When trying to validate the page
<http://thecapitalscot.com/faq_capscot.html#Boadecia> I get the
following error message that I cannot overcome. Can anyone see an
XHTML error in the referenced line?
<p>For more information on this topic see <a
href="http://www.gallica.co.uk/celts/boudica.htm">http://www.gallica.co.
uk/celts/boudica.htm</a>&nbsp;&nbsp;and&nbsp;&nbsp;some serendipity at
<a
href="http://www.amadan.org/HDR/archives/CIARAN9.TXT">http://www.amadan.
org/HDR/archives/CIARAN9.TXT</a></p>.

1. Line 501, column 293: character data is not allowed here

....org/HDR/archives/CIARAN9.TXT</a></p>.

You have used character data somewhere it is not permitted to
appear. Mistakes that can cause this error include putting text
directly in the body of the document without wrapping it in a container
element (such as a <p>aragraph</p>) or forgetting to quote an attribute
value (where characters such as "%" and "/" are common, but cannot
appear without surrounding quotes).

I'm certainly no expert; but what stood out for me is that the
extension is .TXT. The validating parser may know that text is CDATA.
Also, how is .TXT going to play in a browser.
My response likely trumpets my ignorance, but wrong answers are good
opportunities for learning.

H
Jul 20 '05 #3

P: n/a
James B. MacGregor wrote:
1. Line 501, column 293: character data is not allowed here

....org/HDR/archives/CIARAN9.TXT</a></p>.

You have used character data somewhere it is not permitted to
appear. Mistakes that can cause this error include putting text
directly in the body of the document without wrapping it in a container
element (such as a <p>aragraph</p>) or forgetting to quote an attribute
value (where characters such as "%" and "/" are common, but cannot
appear without surrounding quotes).


</p>.
^-- this is your problem.

--
Mark.
Jul 20 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.