Closed ypo closed 8 months ago
Thanks for the report. This is fixed (also for other attributes that are defined as being of xsd:double type) in HEAD.
I don't think that quick-xml or the serde serialization support it depends on would consider this to be a bug, because f64 attributes are not necessarily defined as being of xsd:double type.
Thanks for you work, it looks good to me
Serde serialize f64::INFINITY to 'inf', in XML it should be INF see http://www.datypic.com/sc/xsd/t-xsd_float.html
You will find bellow an example of MPD that I want to deserialize and serialize again.
availabilityTimeOffset="INF"
becomesavailabilityTimeOffset="inf"
after serialization and then is not accepted by Dash.jsI'm not sure how to fix that, one possibility is to overwrite the f64 serializer
Maybe quick-xml has a solution ?