[Libreoffice-bugs] [Bug 37390] LibreOffice does not create valid ODF.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Oct 3 18:14:17 PDT 2011


https://bugs.freedesktop.org/show_bug.cgi?id=37390

--- Comment #12 from NoOp <glgxg at sbcglobal.net> 2011-10-03 18:14:17 PDT ---
I ran the file:
NameSpaceResilience-02-DefaultNS.odt
from
<http://tools.oasis-open.org/version-control/svn/oic/TestSuite/trunk/odf12/NameSpaceResilience/>
through:
http://tools.odftoolkit.org/odfvalidator/
and it passes.

I then opened the file in LO 3.4.3 (linux) using the default 1.2
(extended) and saved it as:
NameSpaceResilience-02-DefaultNS_Extended_343.odt
and ran it through the same tool. Result is:

This file is NOT valid

Result details:

> > This file is NOT valid
> > 
> > Result details:
> > 
> > upload:///NameSpaceResilience-02-DefaultNS_Extended_343.odt/styles.xml[2,5299]:Error:attribute "fo:hyphenation-remain-char-count" has a bad value: "0" does not satisfy the "positiveInteger" type
> > upload:///NameSpaceResilience-02-DefaultNS_Extended_343.odt/styles.xml[2,5886]:Error:attribute "fo:hyphenation-remain-char-count" has a bad value: "0" does not satisfy the "positiveInteger" type
> > upload:///NameSpaceResilience-02-DefaultNS_Extended_343.odt:Info:Generator: LibreOffice/3.4$Linux LibreOffice_project/340m1$Build-302
> > 
> > 
Turned off 'extended' and used only 1.2 and resaved as:
NameSpaceResilience-02-DefaultNS_NonExtended_343.odt
Reran the test:

> > This file is NOT valid
> > 
> > Result details:
> > 
> > upload:///NameSpaceResilience-02-DefaultNS_NonExtended_343.odt/styles.xml[2,5249]:Error:attribute "fo:hyphenation-remain-char-count" has a bad value: "0" does not satisfy the "positiveInteger" type
> > upload:///NameSpaceResilience-02-DefaultNS_NonExtended_343.odt/styles.xml[2,5836]:Error:attribute "fo:hyphenation-remain-char-count" has a bad value: "0" does not satisfy the "positiveInteger" type
> > upload:///NameSpaceResilience-02-DefaultNS_NonExtended_343.odt:Info:Generator: LibreOffice/3.4$Linux LibreOffice_project/340m1$Build-302
Did the same with LO 3.3.4:

3.3.4 1.2 Extended:

> > Result for NameSpaceResilience-02-DefaultNS_Extended_334.odt
> > 
> > This file is NOT valid
> > 
> > Result details:
> > 
> > upload:///NameSpaceResilience-02-DefaultNS_Extended_334.odt/META-INF/manifest.xml[2,88]:Error:element "manifest:manifest" is missing "version" attribute
> > upload:///NameSpaceResilience-02-DefaultNS_Extended_334.odt/styles.xml[2,5441]:Error:attribute "style:text-combine-start-char" has a bad value: the length of the value is 0, but the required length is 1.
> > upload:///NameSpaceResilience-02-DefaultNS_Extended_334.odt/styles.xml[2,6028]:Error:attribute "fo:hyphenation-remain-char-count" has a bad value: "0" does not satisfy the "positiveInteger" type
> > upload:///NameSpaceResilience-02-DefaultNS_Extended_334.odt:Info:Generator: LibreOffice/3.3$Linux LibreOffice_project/330m19$Build-401
3.3.4 1.2 Non-extended:

> > Result for NameSpaceResilience-02-DefaultNS_NonExtended_334.odt
> > 
> > This file is NOT valid
> > 
> > Result details:
> > 
> > upload:///NameSpaceResilience-02-DefaultNS_NonExtended_334.odt/META-INF/manifest.xml[2,88]:Error:element "manifest:manifest" is missing "version" attribute
> > upload:///NameSpaceResilience-02-DefaultNS_NonExtended_334.odt/styles.xml[2,5391]:Error:attribute "style:text-combine-start-char" has a bad value: the length of the value is 0, but the required length is 1.
> > upload:///NameSpaceResilience-02-DefaultNS_NonExtended_334.odt/styles.xml[2,5978]:Error:attribute "fo:hyphenation-remain-char-count" has a bad value: "0" does not satisfy the "positiveInteger" type
> > upload:///NameSpaceResilience-02-DefaultNS_NonExtended_334.odt:Info:Generator: LibreOffice/3.3$Linux LibreOffice_project/330m19$Build-401

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Libreoffice-bugs mailing list