I'm generating XML to add markers to a clip inside an event and FCPX is reporting that some of the values are not on frame boundaries. The original file's frame rate is 23.98.
The value it complains about is the clip duration, which I calculated as 29760/24000s. When I import the clip manually and let FCPX export an XML in order to compare them, FCPX chooses a duration of 892792/720000s.
My duration is therefore 1.24 seconds and FCPX's is 1.2399888889.