473,394 Members | 1,703 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,394 software developers and data experts.

Empty SGML parser results in w3 validator

Hello,

I tried to validate this page: http://www.traveladventures.org/xhtml/
daralhajar01.html on validator.w3.org and got a message that the page is
not valid transitional xhtml. However, after this message: Below are the
results of attempting to parse this document with an SGML parser - I
got nothing! So I have no clue what the problem might be. I tried to
remove some Javascript but that did not make any difference. So now I
have a page that wouldn't validate but I have no clue what the problem
could be...

Any suggestions most welcome.
Jul 23 '05 #1
3 1999
* Boris Kester wrote in comp.infosystems.www.authoring.html:
I tried to validate this page: http://www.traveladventures.org/xhtml/
daralhajar01.html on validator.w3.org and got a message that the page is
not valid transitional xhtml. However, after this message: Below are the
results of attempting to parse this document with an SGML parser - I
got nothing! So I have no clue what the problem might be. I tried to
remove some Javascript but that did not make any difference. So now I
have a page that wouldn't validate but I have no clue what the problem
could be...


Change

"-//W3C//DTD HTML 1.0 Transitional//EN"

to

"-//W3C//DTD XHTML 1.0 Transitional//EN"
Jul 23 '05 #2
Boris Kester wrote:
Hello,

I tried to validate this page: http://www.traveladventures.org/xhtml/
daralhajar01.html on validator.w3.org and got a message that the page is
not valid transitional xhtml. However, after this message: Below are the
results of attempting to parse this document with an SGML parser - I
got nothing!
'Twas easy to see when I attempted to validate your CSS.
<http://jigsaw.w3.org/css-validator/validator?profile=css2&warning=2&uri=http%3A//www.traveladventures.org/xhtml/daralhajar01.html>

You have an XHTML doctype. You need a closing slash.
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
should be:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

...though why you want XHTML *Traditional* is beyond me. At least use
Strict for new documents. Or ... just use HTML 4.01 Strict.
So I have no clue what the problem might be.
The above trick was a bit of a roundabout.
I tried to
remove some Javascript but that did not make any difference. So now I
have a page that wouldn't validate but I have no clue what the problem
could be...

Any suggestions most welcome.


Look at your page in a browser at 800x600.

My popup blocker (native Firefox) kills your "Tell a friend" window.

I'm not sure about the nesting of all those <div>s but we won't know
until you fix your coding error.

--
-bts
-This space intentionally left blank.
Jul 23 '05 #3
"Beauregard T. Shagnasty" <a.*********@example.invalid> wrote:
XHTML *Traditional*


Isn't that the doctype for Amish sites or Morris dancing?

--
Spartanicus
Jul 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Benjamin Niemann | last post by:
Hi, does anyone know of a validating SGML parser in python (like xmlproc.xmlval does for XML)? Goal is to validation HTML against the DTD, similar to validator.w3.org, not all SGML obscurities...
0
by: Nick Kew | last post by:
Rationale ========= Many applications today benefit from an SGML and/or XML Entity Catalogue to dereference entities referenced by a Public Identifier. For a validating SGML parser this is an...
1
by: krammer | last post by:
Hello, Can any one please give me a short but concise pros and cons list of Unicode support in both SGML and XML? long story short, we are gonna port our leagacy SGML files to XML and the new...
18
by: Tjerk Wolterink | last post by:
i have the following rule, <xsl:template match="br"> <br/> </xsl:template> This should convert all <br/> to <br/> but, my transformer transforms it all to
5
by: Lars | last post by:
Why doesn't the W3C's HTML Validator recognize &euro; and what do I have to do to make my html-file valid?
2
by: Mette Kulmbach | last post by:
I'm a danish librarian who would like to get my new homesite validated. I have tried to get it validatet in the w3c but I get the same message all the time. This is the massage. " Below are...
12
by: Stefan Weiss | last post by:
Hi. (this is somewhat similar to yesterday's thread about empty links) I noticed that Tidy issues warnings whenever it encounters empty tags, and strips those tags if cleanup was requested....
3
by: jimmy.williamson | last post by:
Hi, I'm currently working on a project where I am required to investigate how to convert SGML to XML, and then back again. >From what I've seen on the web so far, James Clark's SP software can...
2
by: Frantic | last post by:
I'm working on a list of japaneese entities that contain the entity, the unicode hexadecimal code and the xml/sgml entity used for that entity. A unicode document is read into the program, then the...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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.