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