Textpattern - на русском языке

форум общения русскоязычных пользователей CMS Текстпаттерн

Вы не зашли.

#1 27-08-2006 02:31:13

ТВЭЛ
слово
Откуда: Северск-Томск
Зарегистрирован: 29-04-2006
Сообщений: 366
Вебсайт

Неудачная проверка валидатором w3.org

Было две ошибки, одна моя (пропустил кавычки в значении атрибута), а вот вторая...

Error Line 2 column 62: there is no attribute "lang".
...mlns="http://www.w3.org/1999/xhtml" xml:lang="ru" lang="ru">
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.

Странно, что красным он выделил именно эту кавычку. Наверное, этот тэг вообще не надо указывать?


Время не ждет.

Неактивен

 

#2 27-08-2006 03:41:23

ТВЭЛ
слово
Откуда: Северск-Томск
Зарегистрирован: 29-04-2006
Сообщений: 366
Вебсайт

Re: Неудачная проверка валидатором w3.org

Все ясно! Нужно так: <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru">
Надо бы заменить в русских сборках :)

Отредактированно Begemot (27-08-2006 03:42:27)


Время не ждет.

Неактивен

 

#3 28-08-2006 02:00:55

Uratsakidogi
веди
Откуда: Мск
Зарегистрирован: 11-06-2006
Сообщений: 28

Re: Неудачная проверка валидатором w3.org

У тебя xhtml 1.1 да? В нем убрали аттрибут lang, поэтому и выделил только эту кавычку.

Неактивен

 

#4 29-08-2006 00:16:55

ТВЭЛ
слово
Откуда: Северск-Томск
Зарегистрирован: 29-04-2006
Сообщений: 366
Вебсайт

Re: Неудачная проверка валидатором w3.org

Так я же и написал, что уже понятно. А 1.1 не только у меня, это сразу было в шаблоне ТхР-компания, я ничего и не менял, да и не смотрел, честно говоря... думал 1.0


Время не ждет.

Неактивен

 

Board footer

RSS   Rambler's Top100
Powered by PunBB
Textpattern.ru