Projet

Général

Profil

Development #66352

l'action de création d'un document, pour un ods, ne repend pas le namespace xmlns:of

Ajouté par Frédéric Péters il y a presque 2 ans. Mis à jour il y a presque 2 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Version cible:
-
Début:
16 juin 2022
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

Description

Seuls les namespaces qui sont utilisés par des éléments sont repris et ça ne devrait pas poser de problème sauf que

The table:formula attribute specifies a formula for a table cell.

Formulas specify calculations to be performed within table cells. The attribute value should begin with a namespace prefix followed by ":" (U+003A, COLON), followed by the text of the formula. The namespace bound to the prefix determines the syntax and semantics of the formula.

Whenever the initial text of a formula has the appearance of an NCName followed by ":" (U+003A, COLON), an OpenDocument producer shall provide a valid namespace prefix and separating ":" (U+003A, COLON) separator before the text of the formula in order to eliminate any ambiguity.

C'est-à-dire que pour un attribut table:formula="of:=[.G22]*1.2" il faut avoir conservé un namespace "of" (= urn:oasis:names:tc:opendocument:xmlns:of:1.2).


Fichiers

Révisions associées

Révision 4f9f891e (diff)
Ajouté par Frédéric Péters il y a presque 2 ans

workflows: force inclusion of openformula namespace in ods documents (#66352)

Historique

#2

Mis à jour par Frédéric Péters il y a presque 2 ans

C'est bien moche mais l'API ElementTree ne permet pas d'ajouter des namespaces arbitraires, et l'utilisation à l'intérieur d'un attribut par le format ods est assez n'importe quoi à la base.

#3

Mis à jour par Emmanuel Cazenave il y a presque 2 ans

  • Statut changé de Solution proposée à Solution validée
#4

Mis à jour par Frédéric Péters il y a presque 2 ans

  • Statut changé de Solution validée à Résolu (à déployer)
commit 4f9f891e105138b798f2eb50ab71516d7c321d2c
Author: Frédéric Péters <fpeters@entrouvert.com>
Date:   Mon Jul 11 22:49:30 2022 +0200

    workflows: force inclusion of openformula namespace in ods documents (#66352)
#5

Mis à jour par Transition automatique il y a presque 2 ans

  • Statut changé de Résolu (à déployer) à Solution déployée
#6

Mis à jour par Transition automatique il y a plus d'un an

Automatic expiration

Formats disponibles : Atom PDF