Bug #1488
TBX: 0.7.7, allow XML special characters entities in word or structure properties in all XML based import modules
Statut: | New | Début: | 10/09/2015 | ||
---|---|---|---|---|---|
Priorité: | Normal | Echéance: | |||
Assigné à: | - | % réalisé: | 70% |
||
Catégorie: | Import | Temps passé: | - | ||
Version cible: | TXM 0.8.4 |
Description
Currently, the Compiler translates any XML entities found in XML attribute values like '<', '"' or '&' to the native character (like '<', '"' or '&') which breaks the CWB syntax.
Note: those entities are built from the sources by previous steps of the import process. If the entities are already present in the sources, they pass to the CWB format without translation and the import is OK.
Solution¶
- a) keep the entities in the CWB output
- b) change CWB syntax to allow < (change
- MD: the "-x" option is already set
- MD: all TXM 0.7.8 import modules now write "&"s and "<"s
Historique
#1 Mis à jour par Matthieu Decorde il y a environ 10 ans
- Version cible changé de TXM 0.7.8 à TXM 0.8.0a (split/restructuration)
#2 Mis à jour par Serge Heiden il y a environ 10 ans
- Description mis à jour (diff)
#3 Mis à jour par Serge Heiden il y a environ 10 ans
- Version cible changé de TXM 0.8.0a (split/restructuration) à TXM 0.7.8
#4 Mis à jour par Serge Heiden il y a environ 10 ans
- Sujet changé de TBX: 0.7.7, allow < character in word or structure properties in all XML based import modules à TBX: 0.7.7, allow XML special characters entities in word or structure properties in all XML based import modules
- Description mis à jour (diff)
#5 Mis à jour par Matthieu Decorde il y a presque 10 ans
- Description mis à jour (diff)
- % réalisé changé de 0 à 80
#6 Mis à jour par Serge Heiden il y a presque 10 ans
What about '"' ?
- it is an XML reserved character
- it is sensible to encode XML element attributes
#7 Mis à jour par Serge Heiden il y a plus de 9 ans
- % réalisé changé de 80 à 70
#8 Mis à jour par Sebastien Jacquot il y a plus d'un an
- Version cible changé de TXM 0.7.8 à TXM 0.8.4