Bug #2859

Structure name, Structure property name or Word property name, CQP reserved keywords

Added by Serge Heiden about 1 month ago.

Status:New Start date:06/15/2020
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Import Spent time: -
Target version:TXM 0.8.2

Description

Foreign XML sources can use CQP reserved keywords names in structure names, structure property names or word property names.

Solution

Build the list of CQL reserved keywords : source, diff... (see TXM Manual).

During the Compiler phase, build the list of all the structure names, structure property names or word property names in conflict with the list of CQL reserved keywords.

Authoritatively rename all of them by "s-%s" (for structure names) and "p-%s" (for property names) and display a synthetic warning message listing all the renamings.


Related issues

related to Bug #2858: Word and Word Sequence Annotation, CQP reserved keywords New 06/15/2020

Also available in: Atom PDF