xqDoc was initially written to target XQuery 1.0. In 2014, the schema was extended to capture XQuery annotation information defined in XQuery 3.0. The figure below highlights the addition: