Bug #1242

Updated by Matthieu Decorde about 4 years ago

h3. 'text' structure properties

Currently, the Partition command parameters dialog box lists the 'base', 'path' and 'project' structure property for the 'text' structure.

Those supposely internaly used properties are unknown and unusable by the user, so it is confusing the user.

It should not be displayed here.

Note: those informations have been noticed in the Partition command parameters, but they must probably also be hidden in other components like Sub-corpus parameters, Concordance reference display parameters, etc.

h3. 'txmcorpus' structure

Currently, the Partition command parameters dialog box lists the 'txmcorpus' structure.

That supposely internaly used propertiy is unknown and unusable by the user, so it is confusing the user.

It should not be displayed here.

h3. Solution 1

In the partition dialog:
* remove the 'text_base', 'text_path' and 'text_project' properties from the list of the 'text' structure;
* remove the 'txm_corpus' structure from the list of structures.

h3. Solution 2

* rename the 'base', 'path' and 'project' internal properties in a reserved namespace of TXM. For example prefix them by 'txm_' or 'txm:' or 'txm.' (if we only remove any properties of those names, we prevent any corpus to use those property names);
* rename the 'txmcorpus' structure by 'txm_corpus' (to prevent conflict with any corpus sources)

h3. Solution 3

A supplementary development could add a boolean preference to show/hide 'internal structures and properties' in parameters dialog boxes for advanced users?

This - of course - supposes to document those internal properties and structures in the Javadoc and in a developer manual.

Back