Added support for inheriting datatype from schema type annotation (MarkLogic only).