On Thursday, April 25, 2019 08:25:29 Hannes Hering wrote:
> when trying to enter the character sequence
> into the code editing window of latest beremiz creates the attached
> bug report. I guess the end tag for the CDATA XML token is not
> escaped, and entering it messes up a lot.
> I'm trying to port some code from OSCAT libraries regarding XML
> parsing for use with a Beremiz based environment. The offending code
> is somethng like:
> e_code : STRING;
> e_code := ']]>'
> Is someone able to help over that? Or is there an idea how to fix that
> problem in the IDE?
Hmmm... This seems to be a limitation of PLCopen XML itself, and not Beremiz.
I can think of two possible ways of attacking this:
I honestly don't know whether this is possible or if it makes any sense, but
perhaps Beremiz could replace all '>' characters before saving to XML with
Edouard or Andrey would have to comment on this.