Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Titan » Strange XSD.String error
Strange XSD.String error [message #1869723] Thu, 22 August 2024 14:27 Go to next message
Olaf Bergengruen is currently offline Olaf BergengruenFriend
Messages: 128
Registered: November 2018
Senior Member
Hi Titan XSD experts,

we found a strange compiler error when mixing XSD.String and charstrings in asignments.

  function f_Test() {
    var XSD.String v_Str1 := "123";
    var charstring v_Str2 := "456";
    var charstring v_Str3 := v_Str1 & v_Str2;  // <--- ??? causes an error
    var charstring v_Str4 := v_Str2 & v_Str1;  // does not cause an error !
    log(v_Str3);
    log(v_Str4);
  }


Attached the complete test project.


Thanks for any comments,
Olaf @ ETSI TF160
Re: Strange XSD.String error [message #1870566 is a reply to message #1869723] Tue, 03 September 2024 11:04 Go to previous messageGo to next message
Adam Knapp is currently offline Adam KnappFriend
Messages: 54
Registered: November 2020
Member
Hi Olaf,

Yeah right, this is not consistent behavior. The fix is already provided. Some additional details described in the related ticket: https://gitlab.eclipse.org/eclipse/titan/titan.core/-/issues/735
Re: Strange XSD.String error [message #1870647 is a reply to message #1870566] Wed, 04 September 2024 13:48 Go to previous messageGo to next message
Olaf Bergengruen is currently offline Olaf BergengruenFriend
Messages: 128
Registered: November 2018
Senior Member
Thanks, Adam,
the fix is not yet integrated into the main branch , right?
Olaf
Re: Strange XSD.String error [message #1870743 is a reply to message #1870647] Fri, 06 September 2024 10:58 Go to previous message
Adam Knapp is currently offline Adam KnappFriend
Messages: 54
Registered: November 2020
Member
It is already merged into the main branch.
Previous Topic:How to use TITAN TTCN3 Java Compiler from command line?
Next Topic:REMINDER: ETSI TTCN-3 questionnaire & Open sesssion
Goto Forum:
  


Current Time: Sun Nov 10 00:12:46 GMT 2024

Powered by FUDForum. Page generated in 0.02660 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top