Hej!
Jag har en sida som _nästan_ validerar korrekt med w3s valideringsfunktion, men eftersom den är i PHP och innehåller länkar till andra PHP-script med querysträngar attachade får jag följande felmeddelanden... Frågan är hur man ska lösa detta?
Line 69, column 60: cannot generate system identifier for general entity "startat"
<td align="right"><a class="pilar" href="/view.php?userID=3&startat=0">«</a></td>
^
Line 69, column 60: general entity "startat" not defined and no default entity (explain...).
<td align="right"><a class="pilar" href="/view.php?userID=3&startat=0">«</a></td>
^
Line 69, column 67: reference not terminated by REFC delimiter
...><a class="pilar" href="/view.php?userID=3&startat=0">«</a></td>
^
Line 69, column 67: reference to external entity in attribute value
...><a class="pilar" href="/view.php?userID=3&startat=0">«</a></td>
^
Line 69, column 67: reference to entity "startat" for which no system identifier could be generated
...><a class="pilar" href="/view.php?userID=3&startat=0">«</a></td>
^
Line 69, column 59: entity was defined here
<td align="right"><a class="pilar" href="/view.php?userID=3&startat=0">«</a></td>
^
Line 76, column 66: reference not terminated by REFC delimiter
..."><a class="pilar" href="/view.php?userID=3&startat=0">»</a></td>
^
Line 76, column 66: reference to external entity in attribute value
..."><a class="pilar" href="/view.php?userID=3&startat=0">»</a></td>
^
Line 76, column 66: reference to entity "startat" for which no system identifier could be generated
..."><a class="pilar" href="/view.php?userID=3&startat=0">»</a></td>
^
Line 69, column 59: entity was defined here
<td align="right"><a class="pilar" href="/view.php?userID=3&startat=0">«</a></td>
Här är sourcen till sidan:
1: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2: "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3: <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="sv" lang="sv">
4: <head>
5: <title>Kamerablog</title>
6: <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
7: <style type="text/css">
8: body {
9: background: #fff;
10: }
11: td {
12: font-family: verdana, arial, sans-serif;
13: font-weight: normal;
14: font-size: 10px;
15: color: #000;
16: margin: 0 0 0 0;
17: padding: 5px 5px 5px 5px;
18: }
19: td.pic {
20: vertical-align: top;
21: background: #dddddd;
22: font-family: verdana, arial, sans-serif;
23: font-weight: normal;
24: font-size: 10px;
25: color: #000;
26: margin: 5px 5px 5px 5px;
27: padding: 5px 5px 5px 5px;
28: border: 1px solid #000;
29: width: 180px;
30: }
31: table {
32: margin: 0 0 0 0;
33: padding: 0 0 0 0;
34: border: 0px solid #000;
35: }
36: img.camimage {
37: margin: 2px 2px 10px 2px;
38: padding: 0 0 0 0;
39: border-left: 1px solid #000;
40: border-top: 1px solid #000;
41: border-right: 1px solid #fff;
42: border-bottom: 1px solid #fff;
43: }
44: a {
45: font-family: verdana, arial, sans-serif;
46: font-weight: normal;
47: font-size: 10px;
48: color: #0000cc;
49: }
50: a.pilar {
51: font-family: verdana, arial, sans-serif;
52: font-weight: normal;
53: font-size: 24px;
54: color: #000000;
55: text-decoration: none;
56: }
57: a.pilar:hover {
58: font-family: verdana, arial, sans-serif;
59: font-weight: normal;
60: font-size: 24px;
61: color: #0000ff;
62: text-decoration: underline;
63: }
64: </style>
65: </head>
66: <body>
67: <table>
68: <tr>
69: <td align="right"><a class="pilar" href="/view.php?userID=3&startat=0">«</a></td>
70: <td class="pic"><img alt="Sahra min brorsdotter" class="camimage" src="/dbimage.php?id=67" /><br /><i>17:55, Tis 3/9</i><br /><b>Sahra min brorsdotter</b><br />lite text</td>
71: <td class="pic"><img alt="" class="camimage" src="/pix/nopic.gif" /><br /><i></i><br /><b></b><br /></td>
72: <td class="pic"><img alt="" class="camimage" src="/pix/nopic.gif" /><br /><i></i><br /><b></b><br /></td>
73: <td class="pic"><img alt="" class="camimage" src="/pix/nopic.gif" /><br /><i></i><br /><b></b><br /></td>
74: <td class="pic"><img alt="" class="camimage" src="/pix/nopic.gif" /><br /><i></i><br /><b></b><br /></td>
75: <td class="pic"><img alt="" class="camimage" src="/pix/nopic.gif" /><br /><i></i><br /><b></b><br /></td>
76: <td align="left"><a class="pilar" href="/view.php?userID=3&startat=0">»</a></td>
77: </tr>
78: </table>
79:
80: </body>
81: </html>