| Summary: | Writer FILESAVE: validation of odt not passed: attribute "text:start-value" has a bad value: "0" does not satisfy the "positiveInteger" type | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | sasha.libreoffice |
| Component: | Writer | Assignee: | Michael Stahl (allotropia) <michael.stahl> |
| Status: | RESOLVED NOTABUG | ||
| Severity: | normal | CC: | jmadero.dev, michael.stahl, reisi007, sasha.libreoffice |
| Priority: | medium | ||
| Version: | Master old -3.6 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | odf odf_validation | ||
| Crash report or crash signature: | Regression By: | ||
| Attachments: |
test case
source document |
||
|
Description
sasha.libreoffice
2012-02-10 06:58:41 UTC
Created attachment 56868 [details]
source document
*** Bug 45897 has been marked as a duplicate of this bug. *** I'm marking this as a duplicate. @Sasha - if you open incredibly similar bugs please do the following: a) acknowledge that it's similar b) point out other similar bugs c) most importantly, say exactly how it is different *** This bug has been marked as a duplicate of bug 45700 *** this is certainly not a duplicate of 45700 or of 45897, which are obviously about completely different errors (see also my rant on the qa mailing list). i can't reproduce this problem on current 3.5/3.6/master, so i'll resolve it WORKSFORME I just reproduced problem in 3.5.5 and 3.6.1 on Fedora 64 bit I opened doc from second attachment, saved as odt, unzipped and in file styles.xml found line text:start-value="0" on line 240 aha... hmm... further investigation reveals: the text:start-value attribute is tricky because it has different types, depending on the element on which it occurs; see http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#__RefHeading__1419160_253892949 in the first attachment, the following elements have text:start-value="0": text:list-level-style-number positiveInteger text:outline-level-style positiveInteger text:notes-configuration nonNegativeInteger while in my document saved by version 3.5.5 there are 2 elements of this in line 240 and 241 text:notes-configuration nonNegativeInteger so for text:list-level-style-number and text:outline-level-style the 0 value is an error, but for text:notes-configuration it is valid => no problem after all :) Thanks for additional investigation. As I understand, status should be NotABug because it is validator's fault, and LO saves odt correctly. Changing to NotABug. |