error validating authoring html code
| Newsgroups | gmane.comp.cms.wyona.user |
|---|---|
| Message-ID | <[email protected]> |
Hi all,
i had a look at the html code of wyona's authoring website, i.e
at the 'Materials Science' area
(http://195.226.6.70:8080/wyona-cms/authoring/index).
The structure of the code is
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Authoring</title>
...
</head>
<body bgcolor="#ffffff">
...
<html> <!-- notice!!!! -->
<head>
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE></TITLE>
<link type="text/css" href="/wyona-cms/ethz-mat/live/material.css"
rel="stylesheet">
</head>
<body marginheight="0" marginwidth="0" topmargin="0" leftmargin="0"
bgcolor="#FFFFFF"
background="/wyona-cms/ethz-mat/live/images_d00/background.gif">
...
</body>
</html>
</body>
</html>
Notice the additional <html>..</html>-tag in the body-part!
The same holds for the other sites as e.g. unipublic.
I was wondering whether this is adequate html and i've
checked an equivalent structure by w3c html-validator
(http://validator.w3.org/)
See the results below:
--------------------------------------------------------------------
Source Listing
Below is the source input I used for this validation:
1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2: <html>
3: <head><title>Title</title></head>
4: <body><h1>Some text</h1>
5: <b>another text</b> ...<br><br>
6:
7: <html>
8: <head><title>2nd</title></head>
9: <body>
10: 2nd one
11: </body>
12: </html>
13:
14: </body>
15: </html>
Below are the results of attempting to parse this document with an SGML parser.
Line 7, column 5:
<html>
^
Error: element "HTML" not allowed here; check which elements this element
may be contained within
--------------------------------------------------------------------
May be i am picky :-)
... but isnt it possible to produce nice html also
for the authoring area?
As far as i can see that would require some modifications in some
xsl-files, e.g. container.xsl. What do you think?
Very best wishes
Jürgen
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/