Hi Duraid -
This is certainly meant to be handled. Line 4309 of part 03A in the specification states:
"Timespan: This is a complex datatype, requiring both a startDate expressed as an xs:dateTime and a duration, expressed as an xs:duration type in the generated schemas. Depending on which type of generated schema is being discussed, these two fields will be either XML attributes or XML elements in the generated schema.
Note that Timespan may not be used as the representation of a key value (that is, as the representation of a dimension)."
The treatment of this in the compact format is not described (although it should be). There are two attributes created - one for the duration of the span (the actual component value) and one for the start time. For example, if you primary measure (OBS_VALUE) was defined as being a timespan, you would have an OBS_VALUE(xs:duration) attribute and an OBS_VALUEStartTime (common:TimePeriodType) attribute.
In reviewing the schema generation XSLTs distributed in the SDMX tools - this seems to be accounted for in the various formats. However is does not appear to be accounted for in the transformations of the data messages. This should be corrected and a bug will be filed.