Bug #1470

TBX: 0.7.7, CQP attribute names cannot use CQL operator names

Ajouté par Serge Heiden il y a environ 10 ans. Mis à jour il y a plus de 6 ans.

Statut:New Début:03/09/2015
Priorité:Normal Echéance:
Assigné à:- % réalisé:

0%

Catégorie:SearchEngine Temps passé: -
Version cible:TXM 0.X.X

Description

A corpus using the name 'cat' for a word property (positionnal attribute) breaks CQP: it is impossible to query that property in any CQL expression.

The problem has only been reported for the 'cat' operator name, but all CQL operator names are probably affected: asc, ascending, by, cat, cd, collocate, contains, cut, def, define, delete, desc, descending, diff, difference, discard, dump, exclusive, exit, expand, farthest, foreach, group, host, inclusive, info, inter, intersect, intersection, join, keyword, left, leftmost, macro, maximal, match, matchend, matches, meet, MU, nearest, no, not, NULL, off, on, randomize, reduce, RE, reverse, right, rightmost, save, set, show, size, sleep, sort, source, subset, TAB, tabulate, target, target[0-9], to, undump, union, unlock, user, where, with, within, without, yes

Solution 1

  • a) in all import processes produce an error message and abort for any word property that is the same name as a CQL operator.
  • b) document the fact that no CQL operator name should be used as a word property name in sources.

Solution 2

Develop in CQP the possibility to use CQL operator names for word property names (positionnal attribute name).

Historique

#1 Mis à jour par Serge Heiden il y a environ 10 ans

  • Description mis à jour (diff)

#2 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)

#3 Mis à jour par Sebastien Jacquot il y a plus de 7 ans

  • Version cible changé de TXM 0.8.0a (split/restructuration) à TXM 0.8.0

#4 Mis à jour par Matthieu Decorde il y a plus de 6 ans

  • Version cible changé de TXM 0.8.0 à TXM 0.X.X

Formats disponibles : Atom PDF