1 Reply Latest reply on Jul 7, 2007 5:19 PM by pmuir

    Doctype declaration missing in generated source

    jamesdonnelly256

      Hi,

      We're using Jboss 4.0.5.GA with Seam 1.1.6.GA.

      I have an XHTML page which contains a doctype declaration as normal:

      <!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"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ice="http://www.icesoft.com/icefaces/component">



      When the page gets rendered, the doctype has been stripped out.

      I need to have it in the generated source as the browser does not render correctly otherwise.

      Thanks,

      James