Fixed type in trkseg type (extention -> extension).
of_xml function (and intermediate functions for all types) implementation.