ERLEDIGT
JA
JA
ANTWORTEN
4
4
ZUGRIFFE
323
323
EMPFEHLEN
-
04.07.05 12:05 #1x12x13 Tutorials.de Gastzugang
der html validation service vom w3c meckert hier:
<script language="JavaScript" type="text/javascript">
mit der meldung:
Line 18, column 18: there is no attribute "language"
Aber warum?
ps.: ich habe die xhtml1.1strict dtd eingebunden..
Darunter steht noch...
You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).
This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.
How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute.
-
04.07.05 12:11 #2x12x13 Tutorials.de Gastzugang
Lösung:
http://www.xhtmlforum.de/viewtopic5336nr5336.html
Ich Assi sollte vllt. vorher mal googlen.
SORRY
-
Das ist mal wieder eines der proprietären Pseudo-Attribute, das wahrscheinlich irgendwann von Microsoft eingeführt wurde, vom W3C jedoch wegen fehlender Standardisierung der möglichen Werte als missbilligt erklärt wurde. Lass es einfach weg.
Markus Wulftange
-
04.07.05 12:22 #4x12x13 Tutorials.de Gastzugang
Wie gesagt funkt es jetzt. Ich habe noch das CDATA-Attribut ergänzt.
-
Welches CDATA-Attribut? Meinst du die Auszeichnung eines CDATA-Bereichs? Hoffentlich lieferst du das XHTML-Dokument korrekt aus.
Markus Wulftange
Ähnliche Themen
-
Kein Zugriff auf ManagedBean mit JSF aus einer XHTML
Von Bexx im Forum Enterprise Java (JEE, J2EE, Spring & Co.)Antworten: 4Letzter Beitrag: 26.07.10, 14:31 -
Valides autocomplete="off" - XHTML
Von Gunah im Forum HTML & XHTMLAntworten: 13Letzter Beitrag: 16.06.09, 15:18 -
Listen und valides XHTML
Von Harzteufel im Forum CSSAntworten: 4Letzter Beitrag: 25.06.08, 17:11 -
Javascript und valides XHTML?
Von dornfeder im Forum Javascript & AjaxAntworten: 2Letzter Beitrag: 07.09.07, 11:20 -
<select> und valides XHTML
Von Martys im Forum HTML & XHTMLAntworten: 9Letzter Beitrag: 23.08.05, 10:10





Login





