public void startDTD(String name, String publicId, String systemId)
throws SAXException {
// If there is a process-as value for the extension, only allow
// the PI to be written if its value is xhtml
FaceletsConfiguration facelets = this.unit.getWebConfiguration().getFaceletsConfiguration();
boolean processAsXhtml =
facelets.isProcessCurrentDocumentAsFaceletsXhtml(alias);
if (this.inDocument && (processAsXhtml || facelets.isOutputHtml5Doctype(alias))) {
boolean isHtml5 = facelets.isOutputHtml5Doctype(alias);
// If we're in an ajax request, this is unnecessary and bugged
// RELEASE_PENDING - this is a hack, and should probably not be here -
// but the alternative is to somehow figure out how *not* to escape the "<!"
// within the cdata of the ajax response. Putting the PENDING in here to
// remind me to have rlubke take a look. But I'm stumped.