Hi, der Validator fragt mich schonmal was für eine Art text das ist, und dann sagt er 4 Errors bei xhtml 1.0 Transtional. Dabei ist mit dann aufgefallen:
Das hier ist der Beginn meines jspx templates:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ice="http://www.icesoft.com/icefaces/component">
<f:loadBundle basename="de.sophos.deit.inventory.messages" var="msgs" />
<head>
<title><ui:insert name="title">Sophos Inventory</ui:insert></title>
<meta http-equiv="Content-Type"
content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css"
href="../../xmlhttp/css/rime/rime.css" />
<link rel="stylesheet" type="text/css"
href="../../css/screen-web.css" />
<link rel="stylesheet" type="text/css"
href="../../css/sophos.css" />
<!--[if IE]>
<style type="text/css">@import url(../../css/sophos.ie.css);</style>
<![endif]-->
<link rel="shortcut icon" type="image/x-icon"
href="../../images/favicon.ico" />
</head>
<body>
<!--[if IE]>
<p> Ich bin leider der IE </p>
<![endif]-->
hier am ende ist mein "Browsertest".
Allerdings steht das alles im Quelltext der Seite die ich bekomme wenn ich mit dem Browser draufgehe garnicht. Da sieht die Seite so aus:
<html id="document:html" lang="de" xml:lang="de"><head><title id="document:title">Inventory</title>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" /><link href="../../xmlhttp/css/rime/rime.css" rel="stylesheet" type="text/css" /><link href="../../css/screen-web.css" rel="stylesheet" type="text/css" /><link href="../../css/sophos.css" rel="stylesheet" type="text/css" /><link href="../../images/favicon.ico" rel="shortcut icon" type="image/x-icon" /><meta content="Rendered by ICEFaces D2D" name="icefaces" /><script src="/inventory/xmlhttp/1231230244233/icefaces-d2d.js" type="text/javascript"></script>
<script src="/inventory/xmlhttp/1231230244233/ice-extras.js" type="text/javascript"></script>
<script type="text/javascript">try { document.execCommand('BackgroundImageCache', false, true); } catch(e) {}</script></head>
Da fehlen alle kommentare! Auch mein "Browsertext"...