office-gobmx/sax
Michael Stahl cc407e50e8 sax, xmloff: fix ODF import/export of text:time/text:time-value
The value written for an Impress time field is something like
text:time-value="0000-00-00T23:28:07" (in LO 3.5+) or
text:time-value="0-00-00T23:28:07" (in OOo 3.3) which contains an
invalid all-zero date.  Such values are actually rejected by the
ODF import since commit ae3e2f1700.

Actually there was no real support to read the RelaxNG type
timeOrDateTime before.

So fix that by:
- adding convertTimeOrDateTime/parseTimeOrDateTime functions to
  sax::Converter
- recognizing and ignoring the 2 invalid all-zero values written by
  LO 3.5 and historic OOo respectively
- writing a bare "time" in text:time-value if the DateTime struct
  contains zero Date members
  (Older OOo versions and AOO cannot actually read that, but everything
  they _can_ read is invalid ODF...)

Change-Id: I754076caee74a5163ed3f972af0f23796aa14f9f
2013-12-10 15:28:53 +01:00
..
inc
qa/cppunit sax, xmloff: fix ODF import/export of text:time/text:time-value 2013-12-10 15:28:53 +01:00
source sax, xmloff: fix ODF import/export of text:time/text:time-value 2013-12-10 15:28:53 +01:00
test
CppunitTest_sax.mk
CppunitTest_sax_attributes.mk
CppunitTest_sax_parser.mk
Library_expwrap.mk
Library_fastsax.mk sax: stop using SAX_DLLIMPLEMENTATION for both sax and fastsax 2013-12-03 13:29:35 +01:00
Library_sax.mk
Makefile
Module_sax.mk
README
StaticLibrary_sax_shared.mk

Wrapper around expat using UNO.