Skip to main content



      Home
Home » Eclipse Projects » Eclipse Titan » Strange XSD.String error
Strange XSD.String error [message #1869723] Thu, 22 August 2024 10:27 Go to next message
Eclipse UserFriend
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 07:04 Go to previous messageGo to next message
Eclipse UserFriend
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 09:48 Go to previous messageGo to next message
Eclipse UserFriend
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 06:58 Go to previous message
Eclipse UserFriend
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 Aug 31 14:13:56 EDT 2025

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

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

Back to the top