Bug #1472

Updated by Serge Heiden over 4 years ago

Current TXT+CSV import module builds a 'path' property for 'text' structures texts that one can see in various command results disturbing the user who has never named any source data with that name. Description of the corpus.

For example after importing the 'voeux-txt' sample corpus without any metadata, the Description command displays: corpus:
<pre>
Propriétés des structures (max 20 valeurs)

p
id (1) = 0.
s
n (59) = 22, 23, 24, 25, 26, 27, 28, 29, 3, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43.
text
id (3) = t0015, t0022, t0036.
path (1) = "".
</pre>

That property must not be shown to the user, in:
*
user (in Description command
* the first page of the Edition of each text
*
or in Concordance references display choice
*
or in Sub-corpus selection
* etc.
selection, etc.) or must not be build.

h3. Solution

For all ancillary/internal/private structure properties build (and needed?) by TXM:
* use a secure non colliding name (to prevent conflicts with user's structure properties space name)
** for example prefix the name by 'Txm' in camelback naming policy
* filter processing and display depending on context of every ancillary data name to prevent the user to discover or to have to deal with them

Back