Apache OpenOffice (AOO) Bugzilla – Issue 35416
RNG (calc;styles.xml): value for attribute "date-value" is wrong
Last modified: 2005-02-04 13:59:03 UTC
If you validate the styles.xml from the attached document you get an error against RNG schema draft #14 because in line 90: you find this (...)text:date-value="0-00-00">12.10.2004</text:date>
Created attachment 18335 [details] Bugdoc
cc'ing MIB, FST
changing title
works in oasisbf1
reopen
please verify
should be fixed with cws oasisbf3
but isn't. Lot's of errors in different docs. So re-opened.
Back to sab
take it
Created attachment 21107 [details] testfile
Hi Daniel, it seems a problem of the field import. If the field has no property "IsFixed" than you do nothing and so the loaded date is not set. So with the next saving of the file a date 0.0.00 is written out. The funcionality of the field is not destroyed by this, it only results in a RNG issue. So I change the priority to 3. Thanks Sascha
now to you Daniel
Reproducable as stated by sab (SRC680, m71): Create doc with date field, save, load, save again -> date 'zero' I don't think the analysis is correct: The date and time fields are 'live', meaning they always show the current value. It should not be necessary to set a (likely outdated) value in order to get a correct date. If no value is set, the field should always have the proper values for 'now'. (This is how the Writer implementation behaves, too.) Also, I tried always setting the value as suggested, but this doesn't work because the date field doesn't even *have* the properties to set the date value. Which makes perfect sense, since without the IsFixed functionality setting the date doesn't make any sense. dvo->nn: I suspect something funny in the date field implementation. I don't understand where the zero date is coming from. The text field import doesn't set any such value.
Fixed in CWS "calc28", changed: unofield.cxx 1.23.478.1 Variable date fields in Draw/Impress were also affected.
reopening to reassign
reassigning to QA for verification
fixed
found fixed on cws calc28
found integrated on master src680m77