On 10/02/2011 08:55 PM, Dennis E. Hamilton wrote:
> Tom Davis remarks that he's noticed a couple of ODF-related bugs for
> LibreOffice and it is presumed that they have been fixed.  That's
> good to know.

FWIW:
https://bugs.freedesktop.org/show_bug.cgi?id=37390
[[Bug 37390] LibreOffice does not create valid ODF.]

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


...


-- 
For unsubscribe instructions e-mail to: [email protected]
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Reply via email to