Comments (4)
Could you provide an example of what you expect this table to look like after an import?
from ccdd.
Hi bawi235!
I'd expect to see Foo be a child of Bar. Either that or see the fields of Bar prepended to Foo's entry list.
From XTCE Green Book section 4.3.4.9:
A container may extend another container in an object-oriented manner. The child container receives the parent’s EntryList, and that EntryList is exactly prefixed to the front of the child’s EntryList.
Right now, I don't see an indication of any relationship between Foo (child) and Bar (parent) in the CCDD UI.
from ccdd.
Will be adding an updated version of CCDDv2 later this week that helps address a problem I am encountering with XTCE imports. Will post an update here when it is available.
from ccdd.
Version 2.0.23 is out. I was able to import the attached file to achieve, what I think, you are trying to do. Keep in mind that CCDD supports a limited sort of XTCE, tailored for use by the display group who work(ed) the Habitat project. The only guarantee is that CCDD can import its own exported XTCE files. XTCE that's formatted differently won't work. XTCE "features" not already covered in CCDD's XTCE parser will be ignored (or maybe cause odd behavior).
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<SpaceSystem xmlns="http://www.omg.org/space/xtce" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="jbbanks" shortDescription="jbbanks" xsi:schemaLocation="https://www.omg.org/spec/XTCE/20061101 https://www.omg.org/spec/XTCE/20061101/06-11-06.xsd">
<SpaceSystem name="Foo" shortDescription="Foo">
<Header classification="INTERFACE" validationStatus="Working" version="1.0"/>
<TelemetryMetaData>
<ParameterTypeSet>
<IntegerParameterType name="Num_Type" signed="false" sizeInBits="32">
<UnitSet/>
<IntegerDataEncoding bitOrder="mostSignificantBitFirst" encoding="unsigned" sizeInBits="32"/>
</IntegerParameterType>
</ParameterTypeSet>
<ParameterSet>
<Parameter name="Num" parameterTypeRef="Num_Type"/>
</ParameterSet>
<ContainerSet>
<SequenceContainer name="Foo">
<EntryList>
<ParameterRefEntry parameterRef="Num"/>
<ContainerRefEntry containerRef="Bar_Bah/Bah"/>
</EntryList>
</SequenceContainer>
</ContainerSet>
</TelemetryMetaData>
<SpaceSystem name="Bar" shortDescription="Bar">
<Header classification="INTERFACE" validationStatus="Working" version="1.0"/>
<TelemetryMetaData>
<ParameterTypeSet>
<IntegerParameterType name="Bah_Type" signed="false" sizeInBits="32">
<UnitSet/>
<IntegerDataEncoding bitOrder="mostSignificantBitFirst" encoding="unsigned" sizeInBits="32"/>
</IntegerParameterType>
</ParameterTypeSet>
<ParameterSet>
<Parameter name="Bah" parameterTypeRef="Bah_Type"/>
</ParameterSet>
<ContainerSet>
<SequenceContainer name="Bar">
<EntryList>
<ParameterRefEntry parameterRef="Bah"/>
</EntryList>
</SequenceContainer>
</ContainerSet>
</TelemetryMetaData>
</SpaceSystem>
<SpaceSystem name="Bar_Bah" shortDescription="Foo,Bar.Bah">
<Header classification="INTERFACE" validationStatus="Working" version="1.0"/>
<TelemetryMetaData>
<ParameterTypeSet>
<IntegerParameterType name="Bah_Type" signed="false" sizeInBits="32">
<UnitSet/>
<IntegerDataEncoding bitOrder="mostSignificantBitFirst" encoding="unsigned" sizeInBits="32"/>
</IntegerParameterType>
</ParameterTypeSet>
<ParameterSet>
<Parameter name="Bah" parameterTypeRef="Bah_Type"/>
</ParameterSet>
<ContainerSet>
<SequenceContainer name="Bah">
<EntryList>
<ParameterRefEntry parameterRef="Bah"/>
</EntryList>
</SequenceContainer>
</ContainerSet>
</TelemetryMetaData>
</SpaceSystem>
</SpaceSystem>
</SpaceSystem>
from ccdd.
Related Issues (20)
- Error when exporting XTCE files from command line HOT 1
- CSV File Import Failure HOT 2
- Corrupted structure table after adding padding and expanding rows HOT 2
- High CPU usage when viewing the Structure table type HOT 2
- Tutorial script cannot be run HOT 3
- Enum tables are returned by some CcddScriptDataAccessHandler structure table calls HOT 7
- Question about automatic message ID assignments HOT 4
- Feature Request: Toggle expanding of groups/parents so that you can collapse them HOT 2
- getStructureTablesByReferenceOrder not returning tables with type "Structure: Cmd Args Ref" HOT 2
- Cannot export to XTCE in 2.0.25 HOT 1
- Table import failed to complete while importing ccsds.h HOT 3
- Problems exporting and importing XTCE HOT 3
- Invalid SQL command; ERROR: syntax error at or near "OIDS" when opening project HOT 3
- Missing Primitive Data Types HOT 5
- Cannot Import/Export EDS/XTCE HOT 3
- Export Full DB and Import to New Project Fails (CSV and JSON) HOT 2
- EDS Format? HOT 2
- > https://github.com/pypa/packaging.python.org/blob/main/source/key_projects.rst#L97-L97 HOT 2
- Options click HOT 2
- I mistakenly thought this was an update to a codelab, instead of an update to the actual test framework. Android DevRel doesn't own this repository, so I'm not sure we should be the ones to update it. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ccdd.