DOCTYPE specifies a DTD. DTDs are deprecated. The XSD form (xmlns) is the preferred way to go these days.
DTDs are better than nothing, but they're not subtle enough to do fine-grained XML validation and they can't handle multiple document namespaces.
Customer surveys are for companies who didn't pay proper attention to begin with.
Joined: Jan 11, 2011
Thanks! But then it's strange that the most recent NetBeans with the most recent Java EE 6 with the most recent JSF2.1 still creates a new JSF pages with
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
That's not the DOCTYPE for the facelet resource definition, though, it's the DOCTYPE that will be output to the client on the resulting webpage. You only want/need/can use that on the outer view definition - the one that contains the actual "html" element. It's not applicable to included objects, only the page as a whole.