TVTower / TVTDatabaseEditor

Xtext-Based editor for the database files
Eclipse Public License 2.0
0 stars 1 forks source link

Editor / Validator chokes when the description texts contain some XML keywords #21

Closed scr0llbaer9000 closed 3 months ago

scr0llbaer9000 commented 4 months ago

Screenshot from 2024-06-09 18-51-44

Here, a description contains the word "creator", which causes a lot of erroneous "consecutive" errors. Replacing the word "creator" or removing it makes them go away. Other word it doesn't seem to like is "job". Guess the parser is too "greedy".

nittka commented 4 months ago

The structure of the grammar and the parsing process require all valid keywords to be explicitly enumerated for title/description etc. I have not done that systematically. However, "job" should not be a problem. In which xml tag did get an error?

scr0llbaer9000 commented 4 months ago

Wow that is weird haha.

Ok "job" was not the problem, but "achievement" definitely was another. I think that is all I have for now.

nittka commented 4 months ago

Once, the script template target group syntax is agreed on, I will update the documentation and provide an updated editor version which fixes these issues as well.

nittka commented 3 months ago

Documentation and editor have been updated.

scr0llbaer9000 commented 3 months ago

Programmes in der Doku hat unter "Ziel- und Lobbygruppen (groups)" immer noch die "target_groups_optional" drin.

nittka commented 3 months ago

... Bei der Korrektur war ich wohl zu sehr auf die Drehbuchvorlagen konzentiert. Zeile ist nun gelöscht.