HTML / XHTML / WML / XML Validator |
||||||||||||
| de | en | ||||||||||||
|
||||||||||||
Basis for checking and processing briefing is the W3C-specification for XHTML Media Types. | |||||||||||
HTTP-Header: Content-Type: 1: <!DOCTYPE HTML PUBLIC 2: "-//W3C//DTD HTML 4.01 Transitional//EN" 3: "http://www.w3.org/TR/html4/loose.dtd"> 4: 5: <html> 6: <head> 7: <title>missing mime-type</title> 8: <meta http-equiv="content-type" 9: content="text/html; charset=iso-8859-1"> 10: </head> 11: <body></body> 12: </html> | If HTTP-Header "Content-Type" is missing, there is no information, how to process (SGML or XML) the document. So an Error has to be reported. | ||||||||||
HTTP-Header: Content-Type: text/html; charset=ISO-8859-1 1: <!DOCTYPE HTML PUBLIC 2: "-//W3C//DTD HTML 4.01 Transitional//EN" 3: "http://www.w3.org/TR/html4/loose.dtd"> 4: 5: <html> 6: <head> 7: <title>legal mime-type</title> 8: <meta http-equiv="content-type" 9: content="text/html; charset=iso-8859-1"> 10: </head> 11: <body></body> 12: </html> | This document was delivered with the correct MIME-Type "text/html" and should validate without any error / warning. | ||||||||||
HTTP-Header: Content-Type: text/css; charset=ISO-8859-1 1: <!DOCTYPE HTML PUBLIC 2: "-//W3C//DTD HTML 4.01 Transitional//EN" 3: "http://www.w3.org/TR/html4/loose.dtd"> 4: 5: <html> 6: <head> 7: <title>illegal mime-type</title> 8: <meta http-equiv="content-type" 9: content="text/html; charset=iso-8859-1"> 10: </head> 11: <body></body> 12: </html> | A HTML-Document must be delivered with MIME-Type "text/xml". Other MIME-Types are not allowed ! | ||||||||||
HTTP-Header: Content-Type: application/xhtml+xml; charset=ISO-8859-11: <!DOCTYPE HTML PUBLIC 2: "-//W3C//DTD HTML 4.01 Transitional//EN" 3: "http://www.w3.org/TR/html4/loose.dtd"> 4: 5: <html> 6: <head> 7: <title>illegal mime-type</title> 8: <meta http-equiv="content-type" 9: content="text/html; charset=iso-8859-1"> 10: </head> 11: <body></body> 12: </html> | A HTML-document has to be transmitted with the MIME-Type "text/html". All other MIME-Types are not allowed. | ||||||||||
HTTP-Header: Content-Type: text/xml; charset=ISO-8859-1 1: <!DOCTYPE HTML PUBLIC 2: "-//W3C//DTD HTML 4.01 Transitional//EN" 3: "http://www.w3.org/TR/html4/loose.dtd"> 4: 5: <html> 6: <head> 7: <title>illegal mime-type</title> 8: <meta http-equiv="content-type" 9: content="text/html; charset=iso-8859-1"> 10: </head> 11: <body></body> 12: </html> | A HTML-Document must be delivered with MIME-Type "text/xml". Other MIME-Types are not allowed ! | ||||||||||
HTTP-Header: Content-Type: application/xml; charset=ISO-8859-1 1: <!DOCTYPE HTML PUBLIC 2: "-//W3C//DTD HTML 4.01 Transitional//EN" 3: "http://www.w3.org/TR/html4/loose.dtd"> 4: 5: <html> 6: <head> 7: <title>illegal mime-type</title> 8: <meta http-equiv="content-type" 9: content="text/html; charset=iso-8859-1"> 10: </head> 11: <body></body> 12: </html> | A HTML-Document must be delivered with MIME-Type "text/xml". Other MIME-Types are not allowed ! | ||||||||||
HTTP-Header: Content-Type: image/svg; charset=ISO-8859-1 1: <!DOCTYPE HTML PUBLIC 2: "-//W3C//DTD HTML 4.01 Transitional//EN" 3: "http://www.w3.org/TR/html4/loose.dtd"> 4: 5: <html> 6: <head> 7: <title>illegal mime-type</title> 8: <meta http-equiv="content-type" 9: content="text/html; charset=iso-8859-1"> 10: </head> 11: <body></body> 12: </html> | A HTML-Document must be delivered with MIME-Type "text/xml". Other MIME-Types are not allowed ! | ||||||||||
HTTP-Header: Content-Type: image/svg+xml; charset=ISO-8859-1 1: <!DOCTYPE HTML PUBLIC 2: "-//W3C//DTD HTML 4.01 Transitional//EN" 3: "http://www.w3.org/TR/html4/loose.dtd"> 4: 5: <html> 6: <head> 7: <title>illegal mime-type</title> 8: <meta http-equiv="content-type" 9: content="text/html; charset=iso-8859-1"> 10: </head> 11: <body></body> 12: </html> | A HTML-Document must be delivered with MIME-Type "text/xml". Other MIME-Types are not allowed ! | ||||||||||
HTTP-Header: Content-Type: application/smil; charset=ISO-8859-1 1: <!DOCTYPE HTML PUBLIC 2: "-//W3C//DTD HTML 4.01 Transitional//EN" 3: "http://www.w3.org/TR/html4/loose.dtd"> 4: 5: <html> 6: <head> 7: <title>illegal mime-type</title> 8: <meta http-equiv="content-type" 9: content="text/html; charset=iso-8859-1"> 10: </head> 11: <body></body> 12: </html> | A HTML-Document must be delivered with MIME-Type "text/xml". Other MIME-Types are not allowed ! | ||||||||||
HTTP-Header: Content-Type: text/vnd.wap.wml; charset=ISO-8859-1 1: <!DOCTYPE HTML PUBLIC 2: "-//W3C//DTD HTML 4.01 Transitional//EN" 3: "http://www.w3.org/TR/html4/loose.dtd"> 4: 5: <html> 6: <head> 7: <title>illegal mime-type</title> 8: <meta http-equiv="content-type" 9: content="text/html; charset=iso-8859-1"> 10: </head> 11: <body></body> 12: </html> | A HTML-Document must be delivered with MIME-Type "text/xml". Other MIME-Types are not allowed ! | ||||||||||
HTTP-Header: Content-Type: application/vnd.wap.xhtml+xml; charset=ISO-8859-1 1: <!DOCTYPE HTML PUBLIC 2: "-//W3C//DTD HTML 4.01 Transitional//EN" 3: "http://www.w3.org/TR/html4/loose.dtd"> 4: 5: <html> 6: <head> 7: <title>illegal mime-type</title> 8: <meta http-equiv="content-type" 9: content="text/html; charset=iso-8859-1"> 10: </head> 11: <body></body> 12: </html> | A HTML-Document must be delivered with MIME-Type "text/xml". Other MIME-Types are not allowed ! | ||||||||||
HTTP-Header: Content-Type: foo/foo; charset=ISO-8859-1 1: <!DOCTYPE HTML PUBLIC 2: "-//W3C//DTD HTML 4.01 Transitional//EN" 3: "http://www.w3.org/TR/html4/loose.dtd"> 4: 5: <html> 6: <head> 7: <title>illegal mime-type</title> 8: <meta http-equiv="content-type" 9: content="text/html; charset=iso-8859-1"> 10: </head> 11: <body></body> 12: </html> | A HTML-Document must be delivered with MIME-Type "text/xml". Other MIME-Types are not allowed ! | ||||||||||
HTTP-Header: Content-Type: text/html; charset=ISO-8859-1 1: <?xml version="1.0" encoding="ISO-8859-1"?> 2: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 3: "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 4: 5: <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de"> 6: <head> 7: <title>Content-Type is text/html</title> 8: </head> 9: <body /> 10: </html> | This XHTML 1.0-document will be transmitted with MIME-Type "text/html". This is allowed, only if the document corresponds to the HTML-guidelines. | ||||||||||
HTTP-Header: Content-Type: text/html; charset=ISO-8859-11: <?xml version="1.0" encoding="ISO-8859-1"?> 2: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" 3: "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 4: 5: <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de"> 6: <head> 7: <title>Content-Type is text/html</title> 8: </head> 9: <body> 10: <p /> 11: </body> 12: </html> | This XHTML 1.1-document will be transmitted with MIME-Type "text/html". In contrast to XHTML 1.0 that MIME-Type is undesired, but you can't avoid it in real life. | ||||||||||
HTTP-Header: Content-Type: application/xhtml+xml; charset=ISO-8859-1 1: <?xml version="1.0" encoding="ISO-8859-1"?> 2: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 3: "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 4: 5: <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de"> 6: <head> 7: <title>Content-Type is application/xhtml+xml</title> 8: </head> 9: <body /> 10: </html> | This XHTML 1.0-document will be transmitted with the valid MIME-Type "application/xhtml+xml". | ||||||||||
HTTP-Header: Content-Type: text/xml; charset=ISO-8859-11: <?xml version="1.0" encoding="ISO-8859-1"?> 2: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 3: "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 4: 5: <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de"> 6: <head> 7: <title>Content-Type is text/xml</title> 8: </head> 9: <body /> 10: </html> | This XHTML 1.0-document will be transmitted with the valid MIME-Type "text/xml". | ||||||||||
HTTP-Header: Content-Type: application/xml; charset=ISO-8859-1 1: <?xml version="1.0" encoding="ISO-8859-1"?> 2: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 3: "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 4: 5: <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de"> 6: <head> 7: <title>Content-Type is application/xml</title> 8: </head> 9: <body /> 10: </html> | This XHTML 1.0-document will be transmitted with the valid MIME-Type "application/xml". | ||||||||||
HTTP-Header: Content-Type: image/svg; charset=ISO-8859-1 1: <?xml version="1.0" encoding="ISO-8859-1"?> 2: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 3: "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 4: 5: <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de"> 6: <head> 7: <title>Content-Type is image/svg</title> 8: </head> 9: <body /> 10: </html> | This is a XHTML 1.0 document, delivered with Content-Type image/svg; this is not allowed. | ||||||||||
HTTP-Header: Content-Type: image/svg+xml; charset=ISO-8859-1 1: <?xml version="1.0" encoding="ISO-8859-1"?> 2: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 3: "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 4: 5: <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de"> 6: <head> 7: <title>Content-Type is image/svg+xml</title> 8: </head> 9: <body /> 10: </html> | This XHTML 1.0 - Document was delivered with Content-Type image/svg+xml; this is not allowed. | ||||||||||
HTTP-Header: Content-Type: application/smil; charset=ISO-8859-11: <?xml version="1.0" encoding="ISO-8859-1"?> 2: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 3: "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 4: 5: <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de"> 6: <head> 7: <title>Content-Type is application/smil</title> 8: </head> 9: <body /> 10: </html> | This XHTML 1.0-document will be transmitted with MIME-Type "application/smil". That is invalid and an Error message has to be reported. | ||||||||||
HTTP-Header: Content-Type: text/vnd.wap.wml; charset=ISO-8859-1 1: <?xml version="1.0" encoding="ISO-8859-1"?> 2: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 3: "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 4: 5: <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de"> 6: <head> 7: <title>Content-Type is text/vnd.wap.wml</title> 8: </head> 9: <body /> 10: </html> | This XHTML 1.0 - Document was delivered with Content-Type text/vnd.wap.wml; this is not allowed. | ||||||||||
HTTP-Header: Content-Type: application/vnd.wap.xhtml+xml; charset=ISO-8859-1 1: <?xml version="1.0" encoding="ISO-8859-1"?> 2: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 3: "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 4: 5: <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de"> 6: <head> 7: <title>Content-Type is application/vnd.wap.xhtml+xml</title> 8: </head> 9: <body /> 10: </html> | This XHTML 1.0 - Document was delivered with Content-Type application/vnd.wap.xhtml+xml; this is not allowed. | ||||||||||
HTTP-Header: Content-Type: text/html; charset=ISO-8859-11: <!DOCTYPE root [ 2: <!ELEMENT foo EMPTY> 3: <!ELEMENT root (foo)> 4: ]> 5: <root> 6: <foo/> 7: </root> 8: | XML-Document was delivered with MIME-Type "text/html" For this reason the validation was processed in SGML-Mode errors are reported even though the document is valid XML. Validome supports following XML-MIME-Types: text/xml image/svg image/svg+xml application/smil application/xml application/xhtml+xml text/vnd.wap.wml application/vnd.wap.xhtml+xml | ||||||||||
HTTP-Header: Content-Type: text/vnd.wap.wml; charset=UTF-8 1: <?xml version="1.0" encoding="utf-8"?> 2: <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" 3: "http://www.wapforum.org/DTD/wml13.dtd"> 4: 5: <wml> 6: <card title="Validator"> 7: <do type="prev" label="Back"> 8: <prev/> 9: </do> 10: <p align="center"> 11: Hello world! 12: <br /> 13: </p> 14: </card> 15: </wml> | A WML-Document can be delivered only with MIME-Type text/vnd.wap.wml or application/vnd.wap.xhtml+xml. | ||||||||||
HTTP-Header: Content-Type: application/xhtml+xml; charset=UTF-8 1: <?xml version="1.0" encoding="utf-8"?> 2: <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" 3: "http://www.wapforum.org/DTD/wml13.dtd"> 4: 5: <wml> 6: <card title="Validator"> 7: <do type="prev" label="Back"> 8: <prev/> 9: </do> 10: <p align="center"> 11: Hello world! 12: <br /> 13: </p> 14: </card> 15: </wml> | Your WML-Document was delivered with MIME-Type application/xhtml+xml, which is not allowed. | ||||||||||
HTTP-Header: Content-Type: text/xml; charset=UTF-8 1: <?xml version="1.0" encoding="utf-8"?> 2: <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" 3: "http://www.wapforum.org/DTD/wml13.dtd"> 4: 5: <wml> 6: <card title="Validator"> 7: <do type="prev" label="Back"> 8: <prev/> 9: </do> 10: <p align="center"> 11: Hello world! 12: <br /> 13: </p> 14: </card> 15: </wml> | Your WML-Document was delivered with MIME-Type text/xml, which is not allowed. | ||||||||||
HTTP-Header: Content-Type: text/xml; charset=ISO-8859-1 1: <!DOCTYPE html PUBLIC "-//VALIDOME//DTD Validome ist Toll//EN" 2: "http://www.validome.org/check/dtd_5034.dtd"> 3: 4: <html> 5: <head> 6: <title>illegal mime-type</title> 7: </head> 8: <body></body> 9: </html> | This HTML-Document with an unknown Public-ID has been delivered with MIME-Type text/xml. By means of Puiblic-ID or MIME-Type we can not recognize if the delivered document is HTML, so it will be processed as XML. | ||||||||||
| Datenschutzerklärung | |