Setting up a version or lock field is not supported by the XML or YAML driver
Cross-referencing with PR #462
It is supported now by both XML and YAML (which simply forwards field settings to ClassMetadataInfo::mapField)
Indeed. XML supported was added in #997, which is now available in 1.0.0-BETA12.