Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Problem z validator'em w3c - czy to wina serwera www?
KaZZZ
post
Post #1





Grupa: Zarejestrowani
Postów: 11
Pomógł: 0
Dołączył: 31.07.2005

Ostrzeżenie: (0%)
-----


Witam,
nie wiem czy w dobrym dziale, ale ten wydał mi się najbliżej związany z tematem.
Jest strona, która nie przechodzi przez walidator bezbłędnie jeśli wysyła się ją z serwera (czyli poprzez wpisanie adresu url) Wynik ok. 80 błędów
Natomiast jeśli strona zostanie przesłana jako plik bezpośrednio (np. poprzez funkcję sprawdzającą poprawność strony w przeglądarce Opera) to wszystko jest OK.
Zrobiłem kopię strony na innym serwerze, i co najdziwniejsze wszystko jest OK, ale niestety strona musi pozostać na serwerze aktualnym.

Link do wyniku walidacji

Czy coś siedzi w kodzie strony, że tak się dzieje, czy może jednak to wina serwera?
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
dr_bonzo
post
Post #2





Grupa: Przyjaciele php.pl
Postów: 5 724
Pomógł: 259
Dołączył: 13.04.2004
Skąd: N/A

Ostrzeżenie: (0%)
-----


Cytat
Contradictory Parse Modes Detected!

The validator can process documents either as XML (for document types such as XHTML, SVG, etc.) or SGML (for HTML 4.01 and prior versions).

This document was served with HTTP headers declaring it as MIME Media Type (), for which the parsing mode should be . However, the document's DOCTYPE Declaration indicates XML mode.


Following the rules of Web Architecture, validation proceeded using the mode based on the Content-Type header.

Fixing this conflict involves either setting the Content-Type header, using a known document type or adding an XML declaration (in the case of XML-based documents).
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 13.10.2025 - 00:36