XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: ODF 1.2 Part 1 CD 4
    • Fix Version/s: ODF-Next
    • Component/s: General, Part 1 (Schema)
    • Labels:
      None
    • Proposal:
      Hide

      Add a xlink:href attribute to <office:script>

      Show
      Add a xlink:href attribute to <office:script>
    • Resolution:
      Hide

      The purpose of the <office:script> element is to store inline scripts, but there is indeed also the option to store them separately in the package. This alternative is widely used. Future versions of the ODF specification may provide some guidance how scripts may be stored. In this context extensions to the <office:script> element or a possible deprecation may be discussed.

      Show
      The purpose of the <office:script> element is to store inline scripts, but there is indeed also the option to store them separately in the package. This alternative is widely used. Future versions of the ODF specification may provide some guidance how scripts may be stored. In this context extensions to the <office:script> element or a possible deprecation may be discussed.

      Description

      <office:script> description has a note:

      "Note: In most situations, the element contains the source code of the script, but it may also contain a compiled version of the script or a link to external script code."

      Adding a xlink:href attribute would mimic HTML's <script src="...">

      (especially since <office:script> already has a script:language attribute similar to HTML's <script type="...">)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bart.hanssens Bart Hanssens (Inactive)
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: