Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: ODF 1.2
    • Fix Version/s: ODF-Next
    • Component/s: Graphics, Part 1 (Schema)
    • Labels:
      None
    • Proposal:
      Hide

      We should either

      (A) require hat draw:type is only used when a draw:engine is given.
      or
      (B) change draw:type to have a namespace

      Show
      We should either (A) require hat draw:type is only used when a draw:engine is given. or (B) change draw:type to have a namespace

      Description

      We have:

      -----------------------------------------------------------------------------------------------------------------------------
      10.6.2 <draw:enhanced-geometry>
      The <draw:enhanced-geometry> element contains the geometry for a <draw:custom-
      shape> element if its draw:engine attribute has been omitted.

      19.146 draw:engine
      The draw:engine attribute specifies the name of a specific rendering engine that can be used to
      render a custom shape.
      The value of the draw:engine attribute shall not influence the geometry of a shape.
      The draw:engine attribute is usable with the following element: <draw:custom-shape>
      10.6.1.
      The draw:engine attribute has the data type namespacedToken 18.3.19.

      19.229.3 draw:type for <draw:enhanced-geometry>
      The defined values for the draw:type attribute are:
      ● non-primitive: no shape type is available.
      ● a value of type string: a rendering engine specific name of a shape.
      The value of this attribute shall not influence the geometry of the shape.
      -----------------------------------------------------------------------------------------------------------------------------

      If draw:type is not set to non-primitive, the shape type is supposed to be engine specific. Unfortunately we do not seem to require that a draw:engine is defined (and at least one implementation specifies non-primitive draw:type without specifying a draw:engine). Since draw:type has no namespace, it is impossible to interpret draw:type when no draw:engine is given.

      Note that the description of draw:enhanced-geometry seems to imply that draw:enhanced-geometry (and so draw:type) is only used if draw:engine is omitted.

        Attachments

          Activity

            People

            • Assignee:
              Patrick Patrick Durusau
              Reporter:
              aguelzow Andreas Guelzow
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: