HXML: add more parsing rules(define, lib, classpath, main, qualified class names), make it more strict