Re: [chessx-developer] Text in angle brackets in comments is not displayed
Chess Database and PGN viewer
Brought to you by:
hognose
From: jens-chessx <jen...@gm...> - 2020-07-15 07:54:27
|
We are correctly handling XML- and HTML-Tags, for example <i>Important move</i>. But this is probably the problem - you have your own XML-Tags inside comments which should trigger different behaviour. For my understanding: what is the idea of embedding CQL into a comment? Should ChessX trigger a CQL-Query once it finds such a comment, for example, when displaying a move with a CQL-command, display a button which executes the command? I can’t see any samples on the Heidjen study database - what tags is Heidjen using and which intention does this database have with XML? BTW: the comment editor below the board shows the <thisshoulddisplay> tag, only the game browser does not show it. We are currently redesigning the game browser, so changes might be coming! Jens > Am 15.07.2020 um 00:30 schrieb Fex Xef <fs...@gm...>: > > A PGN move comment like {<foo>} is not displayed by ChessX ([MacOS]). Instead, a comment with text "<foo>" should be displayed. > > Correctly handling such comments is important for some PGN databases. For example, the Heijden study database, a collection of 85000 endgame studies in PGN, relies extensively on such comments for annotations. See http://hhdbv.nl/ <http://hhdbv.nl/> . Some CQL examples use these tags as well, http://www.gadycosteff.com/cql <http://www.gadycosteff.com/cql> . > > Do you know if or when this will be fixed, or if there is a workaround? > > A sample game illustrating this is below: > > [Event "chessx tag bug"] > [Site "?"] > [Date "2020.07.14"] > [White "Bug1"] > [Black "Bug2"] > [EventDate "2011.??.??"] > > 1.e4 e5 2. Nf3 {<thisshoulddisplay>} 1-0 > > > > > > > > > _______________________________________________ > chessx-developer mailing list > che...@li... > https://lists.sourceforge.net/lists/listinfo/chessx-developer |