%YAML directive parsing is broken

YAML directive value is parsed as "MAJOR MINOR" but Version expects dot-separated String