Hi Michele

Please can you send the original spreadsheet ? I want to add another column to record the discussion on the WG call.

Here is an example of where I do not think the relative path is correct.  The discriminator expression should be {../Transfer_Frame_Version in [0]}. In infoset terms, Spacecraft_Id_V1 is a sibling of Transfer_Frame_Version.

Also you said that you saw no need to implement DFDL assert - so what are the dmx:assertExpression attributes doing?  


        <xs:complexType name="TypeMasterChId">
                <xs:sequence>
                        <xs:element name="Transfer_Frame_Version" type="xs:int" dfdl:lengthKind="explicit" dfdl:lengthUnits="bits" dfdl:length="2" dmx:representation="Integer16"
                                dmx:assertExpression="../Transfer_Frame_Version eq 1" dmx:assertMessage="Invalid TF version detected." dmx:assertPropagate="true"/>
                        <xs:choice>
                                <xs:element name="Spacecraft_Id_V1" type="xs:int" dfdl:lengthKind="explicit" dfdl:lengthUnits="bits" dfdl:length="10" dmx:representation="Integer32" >
                                        <xs:annotation>
                                                <xs:appinfo source="http://www.ogf.org/dfdl/dfdl-1.0/">
                                                        <dfdl:discriminator test="{./Transfer_Frame_Version in [0]}" />
                                                </xs:appinfo>
                                        </xs:annotation>
                                </xs:element>
                                <xs:element name="Spacecraft_Id_V2" type="xs:int" dfdl:lengthKind="explicit" dfdl:lengthUnits="bits" dfdl:length="8"  dmx:representation="UInteger8"
                                        dmx:assertExpression="../Spacecraft_Id_V2 in [82, 83, 84]" dmx:assertMessage="Invalid Spacecraft ID detected.">
                                        <xs:annotation>
                                                <xs:appinfo source="http://www.ogf.org/dfdl/dfdl-1.0/">
                                                        <dfdl:discriminator test="{true}" />
                                                </xs:appinfo>
                                        </xs:annotation>
                                </xs:element>
                        </xs:choice>
                </xs:sequence>
        </xs:complexType>



Regards
 
Steve Hanson

IBM Integration Bus, Hursley, UK
Architect,
IBM DFDL
Co-Chair,
OGF DFDL Working Group
smh@uk.ibm.com
tel:+44-1962-815848
mob:+44-7717-378890




From:        Steve Hanson/UK/IBM
To:        Michele Zundo <michele.zundo@esa.int>
Cc:        DFDL-WG <dfdl-wg@ogf.org>, Mike Beckerle <mbeckerle@tresys.com>
Date:        17/02/2016 08:58
Subject:        Re: OGF DFDL WG Call Agenda 2016-02-16



Thanks Michele, we will discuss on the next WG call. Are you able to join? It is on 1st March.

Regards
 
Steve Hanson
Architect,
IBM DFDL
Co-Chair,
OGF DFDL Working Group
IBM Integration Bus, Hursley, UK
smh@uk.ibm.com
tel:+44-1962-815848
mob:+44-7717-378890





From:        Michele Zundo <michele.zundo@esa.int>
To:        Steve Hanson/UK/IBM@IBMGB
Cc:        DFDL-WG <dfdl-wg@ogf.org>, Mike Beckerle <mbeckerle@tresys.com>
Date:        16/02/2016 15:09
Subject:        Re: OGF DFDL WG Call Agenda 2016-02-16




Dear Steve/Mike,

we eventually discussed with our contractor the points raised last summer on the use of
DFDL schema included in S2G tool (and now in our underlying parser DLDL4S.

The disposition we agreed is recorded for information in the attached pdf.

It relates to one of the point of latest minutes.

Regards

This message and any attachments are intended for the use of the addressee or addressees only.
The unauthorised disclosure, use, dissemination or copying (either in whole or in part) of its
content is not permitted.
If you received this message in error, please notify the sender and delete it from your system.
Emails can be altered and their integrity cannot be guaranteed by the sender.

Please consider the environment before printing this email.

On 16 Feb 2016, at 13:58 , Steve Hanson <smh@uk.ibm.com> wrote:

Please find agenda for call on Redmine at https://redmine.ogf.org/dmsf_files/13517?download=

Regards

Steve Hanson
Architect, IBM Data Format Description Language (DFDL)
Co-Chair,
OGF DFDL Working Group
IBM SWG, Hursley, UK

smh@uk.ibm.com
tel:+44-1962-815848



-----------------------------------------
Michele Zundo

Head of Ground System Definition and Verification Office
EOP-PEP
European Space Agency, ESTEC
e-mail: michele.zundo@esa.int









Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU




Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU