move properties lexer to gen root
better doctype detection