public void setAllowXhtml(boolean allowXhtml) {
        this.allowXhtml = allowXhtml;
        this.contentTypeParser.setAllowXhtml(allowXhtml);
    }
Sets the allowXhtml.

@param allowXhtml
           the allowXhtml to set
src/nu/validator/xml/PrudentHttpEntityResolver.java