Development #66352
l'action de création d'un document, pour un ods, ne repend pas le namespace xmlns:of
0%
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
Historique
Mis à jour par Frédéric Péters il y a presque 2 ans
- Fichier 0001-workflows-force-inclusion-of-openformula-namespace-i.patch 0001-workflows-force-inclusion-of-openformula-namespace-i.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Assigné à mis à Frédéric Péters
- Patch proposed changé de Non à Oui
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.
Mis à jour par Emmanuel Cazenave il y a presque 2 ans
- Statut changé de Solution proposée à Solution validée
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)
Mis à jour par Transition automatique il y a presque 2 ans
- Statut changé de Résolu (à déployer) à Solution déployée
workflows: force inclusion of openformula namespace in ods documents (#66352)