473,396 Members | 1,996 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

XHTML Error???

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
3 1799
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

21
by: kaeli | last post by:
Hey all, Does anyone know if all the newer browsers support XHTML? My main target is IE6/NN6+(firefox/mozilla/etc), but I'd like to know if Safari, Opera, Konqueror, and other browsers also...
2
by: mike | last post by:
regards: I follow the following steps to converting from HTML to XHTML http://webpageworkshop.co.uk/main/xhtml_converting My parser is http://htmlparser.sourceforge.net/ Xhtml version is 1.0...
16
by: Mcginkel | last post by:
I am trying to find a way to load XHTML content in an Iframe. I use to do this in html by using the following code : var iframeObject = document.createElement("iframe");...
82
by: Buford Early | last post by:
I read this in http://annevankesteren.nl/2004/12/xhtml-notes "A common misconception is that XHTML 1.1 is the latest version of the XHTML series. And although it was released a bit more than a...
2
by: Joris Janssens | last post by:
I'm trying to write a program for validating XHTML 1.1-documents against the XHTML 1.1 DTD (which is actually the same as validating an XML-file) but I always get a "(404) Not found" error. This...
3
by: Frank Thomas | last post by:
So, where are we (as an industry) with regards to XHTML? I've been going through a book published in 2002 that promotes the idea that we should all be looking to create new projects as compliant...
2
by: Eric Lindsay | last post by:
Is this still the right place to discuss pages written in XHTML+XML and whether browsers treat them as XML or as HTML? I realise that Internet Explorer doesn't like XHTML pages served as...
11
by: Michael Powe | last post by:
How can I make an XHTML-compliant form of an expression in this format: document.write("<scr"+"ipt type='text/javascript' src='path/to/file.js'>"+"</scr"+"ipt>"); this turns out to be a...
1
by: C.W.Holeman II | last post by:
I have an xmlns attribute that produces an XHTML validation error and I do not understand why it is considered an error.The file displays as expected on Firefox and IE7. ...
10
by: Robert Huff | last post by:
Can someone offer suggestions why, on the same server (Apache 2.2.8), this works <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html lang="en-US"> <head> <link rel=stylesheet...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.