Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • T titan.core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 45
    • Issues 45
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Eclipse Projects
  • Eclipse Titan
  • titan.core
  • Issues
  • #398

Closed
Open
Created Jul 19, 2018 by Eclipse Webmaster@webmasterOwner

incorrect error message for useunion attribute

Submitted by Kristof Szabados

Link to original bug (#537168)

Description

For this code:

type record E22_correct { 
         enumerated {alt_, alt_1, alt_2} xsiType optional,
         enumerated {x20, x50_0, small_1} content
       }
       with {
             variant "name as uncapitalized";
             variant "element";
             variant "useUnion";
}

the compiler reports "USE-UNION can only be applied to a CHOICE/union type"

But according to B.3.16 of "Part 9: Using XML schema with TTCN-3" it is allowed to apply the useUnion attribute to record types.

Version: 6.4.0

Edited May 05, 2021 by Adam Knapp
Assignee
Assign to
Time tracking

Copyright © Eclipse Foundation, Inc. All Rights Reserved.     Privacy Policy | Terms of Use | Copyright Agent