You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DESCRIPTION:
Osate2.3.5 accepts subcomponents components array with a size defined by a constant property (form a property set); however, the ocarina parser (using AADLXML backend) rejects the addl file.
yoogx
changed the title
Ocarina fails to parse valid (osate2.3.5 valid) AADL using constant property for subcomponent component arrays
Parsing of array size definition using constant property for subcomponent component arrays
Oct 27, 2018
OCARINA VERSION:
Ocarina 2017.x (Working Copy from r23cc28c)
Copyright (c) 2003-2009 Telecom ParisTech, 2010-2018 ESA & ISAE
Build date:
/home/user/git/ocarina-build/ocarina_install/share/ocarina/AADLv1/
HOST MACHINE and OPERATING SYSTEM:
Linux laptop 4.15.0-36-generic #39-Ubuntu SMP Mon Sep 24 16:19:09 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
COMPILER VERSION
GNATLS 7.3.0
Copyright (C) 1997-2017, Free Software Foundation, Inc.
Source Search Path:
<Current_Directory>
/usr/lib/gcc/x86_64-linux-gnu/7/adainclude
Object Search Path:
<Current_Directory>
/usr/lib/gcc/x86_64-linux-gnu/7/adalib
Project Search Path:
<Current_Directory>
/usr/x86_64-linux-gnu/lib/gnat
/usr/x86_64-linux-gnu/share/gpr
/usr/share/gpr
/usr/lib/gnat
DESCRIPTION:
Osate2.3.5 accepts subcomponents components array with a size defined by a constant property (form a property set); however, the ocarina parser (using AADLXML backend) rejects the addl file.
REPEAT BY:
Unzip the attached files: aadl_test_case.zip
Run ocarina with this command:
ocarina -d -v -aadlv2 -f -g aadl_xml -r sys.impl -o . TestCase_ParseSubcomponentsArraysWithAADLXMLBackend.aadl props.aadl
Get this output:
SAMPLE FIX/WORKAROUND:
unknown
Thanks,
GYI
The text was updated successfully, but these errors were encountered: