Dňa 22.04.2011 23:44, Wayne Borean wrote / napísal(a):
> What file?
>
> Send copy as attachment.
It looks like that all tests, presented at
http://www.officeshots.org/galleries, fail because of a single issue. It
can be seen also in the attached file a. odf. This is the log from
http://tools.odftoolkit.org/odfvalidator/:
Result for a.odt
This file is NOT valid
Result details:
upload:///a.odt:Info:ODF Version: 1.2
upload:///a.odt/META-INF/manifest.xml:Warning:The directory 'Thumbnails/' is
not a sub-document and should not be listed in the 'META-INF/manifest.xml' file
of ODF package 'upload:///a.odt'!
upload:///a.odt/META-INF/manifest.xml:Warning:The directory
'Configurations2/images/' is not a sub-document and should not be listed in the
'META-INF/manifest.xml' file of ODF package 'upload:///a.odt'!
upload:///a.odt/META-INF/manifest.xml:Warning:The directory
'Configurations2/accelerator/' is not a sub-document and should not be listed
in the 'META-INF/manifest.xml' file of ODF package 'upload:///a.odt'!
upload:///a.odt/META-INF/manifest.xml:Warning:The directory
'Configurations2/progressbar/' is not a sub-document and should not be listed
in the 'META-INF/manifest.xml' file of ODF package 'upload:///a.odt'!
upload:///a.odt/META-INF/manifest.xml:Warning:The directory
'Configurations2/toolbar/' is not a sub-document and should not be listed in
the 'META-INF/manifest.xml' file of ODF package 'upload:///a.odt'!
upload:///a.odt/META-INF/manifest.xml:Warning:The directory
'Configurations2/menubar/' is not a sub-document and should not be listed in
the 'META-INF/manifest.xml' file of ODF package 'upload:///a.odt'!
upload:///a.odt/META-INF/manifest.xml:Warning:The directory
'Configurations2/toolpanel/' is not a sub-document and should not be listed in
the 'META-INF/manifest.xml' file of ODF package 'upload:///a.odt'!
upload:///a.odt/META-INF/manifest.xml:Warning:The directory
'Configurations2/popupmenu/' is not a sub-document and should not be listed in
the 'META-INF/manifest.xml' file of ODF package 'upload:///a.odt'!
upload:///a.odt/META-INF/manifest.xml:Warning:The directory
'Configurations2/statusbar/' is not a sub-document and should not be listed in
the 'META-INF/manifest.xml' file of ODF package 'upload:///a.odt'!
upload:///a.odt/META-INF/manifest.xml:Warning:The directory
'Configurations2/floater/' is not a sub-document and should not be listed in
the 'META-INF/manifest.xml' file of ODF package 'upload:///a.odt'!
upload:///a.odt/META-INF/manifest.xml:Warning:The directory
'Configurations2/images/Bitmaps/' is not a sub-document and should not be
listed in the 'META-INF/manifest.xml' file of ODF package 'upload:///a.odt'!
internal:schema/odf12/OpenDocument-v1.2-cd05-rev02-manifest-schema.rng:Info:parsed.
*upload:///a.odt/META-INF/manifest.xml[2,88]:Error:element "manifest:manifest"
is missing "version" attribute
upload:///a.odt/META-INF/manifest.xml:Info:1 errors, 11 warnings*
upload:///a.odt/mimetype:Info:no errors, no warnings
upload:///a.odt:Info:Media Type: application/vnd.oasis.opendocument.text
internal:schema/odf12/OpenDocument-v1.2-cd05-rev02-schema.rng:Info:parsed.
upload:///a.odt/meta.xml:Info:Generator: LibreOffice/3.3$Unix
LibreOffice_project/330m19$Build-202
upload:///a.odt/meta.xml:Info:no errors, no warnings
upload:///a.odt/settings.xml:Info:no errors, no warnings
upload:///a.odt/styles.xml:Info:no errors, no warnings
upload:///a.odt/content.xml:Info:no errors, no warnings
internal:schema/odf12/OpenDocument-v1.2-cd05-rev02-dsig-schema.rng:Info:parsed.
upload:///a.odt:Info:1 errors, 11 warnings
I guess that by correcting this, the majority of tests from
http://www.officeshots.org/galleries will pass.
The other attached file has also two other problems:
upload:///DoplnenieSOIT-april2011.odt/styles.xml[2,6435]: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:///DoplnenieSOIT-april2011.odt/styles.xml[2,6963]:Error:attribute
"fo:hyphenation-remain-char-count" has a bad value: "0" does not satisfy the
"positiveInteger" type
Is it possible that the files are OK but the validator is incorrect?
Milos
> Wayne
>
>
>
> On Fri, Apr 22, 2011 at 3:45 PM, Milos Sramek <[email protected]>wrote:
>
>> Hi,
>>
>> I want to point to a problem regarding validity of the ODF documents
>> produced by LO.
>> The http://www.officeshots.org/galleries web page offers numerous test
>> files for validity checking - it looks like the worst results are
>> obtained by LO (no single valid file), while other programs passed all
>> (abiword) or nearly all (MSOffice) tests.
>>
>> I verified that also by sending a random file to
>> http://tools.odftoolkit.org/odfvalidator/: A file produced by LO
>> resulted in many times more errors than a file created by MSOffice2010.
>> Perhaps these are not big bugs - but may become a a BIG argument against
>> using LO in, say public administration.
>>
>> What do you think about that?
>> Thanks
>> Milos
>>
>> --
>> email & jabber: [email protected]
>>
>>
>> --
>> Unsubscribe instructions: E-mail to [email protected]
>> Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
>> List archive: http://listarchives.libreoffice.org/www/users/
>> All messages sent to this list will be publicly archived and cannot be
>> deleted
>>
--
email & jabber: [email protected]
--
Unsubscribe instructions: E-mail to [email protected]
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/www/users/
All messages sent to this list will be publicly archived and cannot be deleted