Issue 121971 - ODF: Invalid because draw:connector is missing svg:viewBox attribute
Summary: ODF: Invalid because draw:connector is missing svg:viewBox attribute
Status: UNCONFIRMED
Alias: None
Product: Draw
Classification: Application
Component: save-export (show other issues)
Version: 4.0.0-dev
Hardware: PC Windows 7
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: odf_validation
Depends on:
Blocks:
 
Reported: 2013-03-27 17:09 UTC by Regina Henschel
Modified: 2017-05-20 11:27 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
simple document with connector (11.21 KB, application/vnd.oasis.opendocument.graphics)
2013-03-27 17:09 UTC, Regina Henschel
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Regina Henschel 2013-03-27 17:09:55 UTC
Created attachment 80473 [details]
simple document with connector

Test the attached document with an ODF1.2 validator, for example with
http://odf-validator2.rhcloud.com/odf-validator2/

The document is not valid, because the draw:connector element is missing svg:viewBox attribute.

You can see in OpenDocument-v1.2-os-schema.rng that the svg:viewBox attribute is not optional but needed. You can download the schema from OASIS or browse it at http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-schema.rng 

It is needed in content too, because otherwise the values in svg:d do not have a reference to determine the unit.
Comment 1 Armin Le Grand 2013-03-28 09:00:45 UTC
ALG: Grepping, taking a look
Comment 2 Marcus 2017-05-20 11:27:58 UTC
Reset assigne to the default "issues@openoffice.apache.org".