add support to ignore <!DOCTYPE> declaration
add support to ignore <!DOCTYPE> declaration