[Libreoffice-bugs] [Bug 131127] FILESAVE: Form: incorrect "time" type

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Mar 9 07:48:13 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=131127

--- Comment #6 from Lionel Elie Mamane <lionel at mamane.lu> ---
The error messages in comment 5 (for versions 3.4 and 3.5) suggest that the
issue is not one of XMLSchema 2 time datatype vs XMLSchema 2 duration datatype,
but that the validator expects a duration, but with all elements written out,
down to centiseconds, while the file contains only the elements actually
present and non-zero.

I mean, the error message looks like it wants PT12H12M00.00S instead of
PT12H12M00S or PT12H12M.

Is that because LibO 3.4 and 3.5 issue a different ODF version, and that part
of the specification has changed?

I see in the ODF spec (both 1.0 and 1.2) that an office:time-value must be
coded as an XMLSchema 2 *duration*, not *time*. That doesn't seem to apply to
form:current-value, though. Why the difference, I'm not sure.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200309/37cf768d/attachment.htm>


More information about the Libreoffice-bugs mailing list