Summary: | odf_validation Error: attribute "draw:fit-to-size" has a bad value | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Rainer Bielefeld Retired <LibreOffice> |
Component: | Impress | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | LibreOffice, michael.stahl, thb |
Priority: | medium | ||
Version: | 3.5.3 release | ||
Hardware: | Other | ||
OS: | Windows (All) | ||
URL: | https://bugs.freedesktop.org/attachment.cgi?id=58736 | ||
Whiteboard: | odf odf_validation | ||
Crash report or crash signature: | Regression By: | ||
Bug Depends on: | |||
Bug Blocks: | 49569 |
Same problem:
Document source: 30519 - Bad transitions if "use hardware acceleration" is enabled attachment 39102 [details]
Steps how to reproduce: Download sample document, open with LibO Version mentioned below, then do validator tests
Text document saved with: LibreOffice 3.5.3.2 (RC2) German UI/Locale [Build-ID: 235ab8a-3802056-4a8fed3-2d66ea8-e241b80] on German WIN7 Home Premium (64bit)
PDF File Format: 1.2 Extended
Validation results (+ = ok, - = not ok), Message behind
+ odf-validator.rhcloud: styles.xml[2,13354]: Error: attribute "draw:fit-to-size" has a bad value. Possible values are: false,true
+ Officeotron: (styles.xml:2 col:13,354) bad value for attribute "fit-to-size" from namespace
+ Cyclone: Expecting element map, got graphic-properties – Element style has extra content: graphic-properties-- xtra element style in interleave – Invalid sequence in interleave – Element styles failed to validate content
+ ODFToolkit: not tested
The attribute only allows boolean values (ODF 1.2, §20.123 [1]). However, maybe inspired by MS OOXML standards (I don't know them), LibO uses "shrink-to-fit", "stretch-to-fit" and "best-fit". [2] [3] The ODF does not support these specifications. [1] http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#__RefHeading__1419674_253892949 (Big file) [2] http://opengrok.libreoffice.org/xref/core/oox/source/dump/dffdumper.ini#425 [3] http://opengrok.libreoffice.org/xref/core/svx/inc/svx/sdtfsitm.hxx#36 |
Document source: See URL Steps how to reproduce: Download sample document, open with LibO Version mentioned below, save under new name, then do validator tests. Text document saved with: LibreOffice 3.5.3.2 (RC2) German UI/Locale [Build-ID: 235ab8a-3802056-4a8fed3-2d66ea8-e241b80] on German WIN7 Home Premium (64bit) PDF File Format: 1.2 Extended Validation results (+ = ok, - = not ok), Message behind ":" - odf-validator.rhcloud: Error: attribute "draw:fit-to-size" has a bad value. Possible values are: false,true - Officeotron: bad value for attribute "fit-to-size" from namespace - Cyclone: Error: in styles.xml – Expecting element map, got graphic-properties // Element style has extra content: graphic-properties // Extra element style in interleave // Invalid sequence in interleave // Element styles failed to validate content > ODFToolkit: no test rewult > opendocumentfellowship: no test result I do not know whether additional "Cyclone" messages are related