Remove YXML_EOD and add YXML_EMULROOT to signal error