[DFDL-WG] [DFDL]: Apply daffodil on S2G mission schemas
Steve Hanson
smh at uk.ibm.com
Mon Apr 25 07:02:26 EDT 2016
Michele
Issue #1
<dfdl:simpleType dfdl:lengthKind="explicit" dfdl:lengthUnits="bytes"
dfdl:length="4"/>
This is not correct syntax. The "dfdl:" namespace prefix for a property is
only used for "short form" attributes. Change to:
<dfdl:simpleType lengthKind="explicit" lengthUnits="bytes" length="4"/>
Issue #3
<dfdl:discriminator test="{true}"/>
I think this should be:
<dfdl:discriminator test="{fn:true()}"/>
23.5.2.1 Boolean functions
The following additional constructor functions are defined on the boolean
type.
Function
Meaning
fn:true()
Constructs the xs:boolean value 'true'.
fn:false()
Constructs the xs:boolean value 'false'.
Regards
Steve Hanson
IBM Integration Bus, Hursley, UK
Architect, IBM DFDL
Co-Chair, OGF DFDL Working Group
smh at uk.ibm.com
tel:+44-1962-815848
mob:+44-7717-378890
From: Michele Zundo <michele.zundo at esa.int>
To: DFDL-WG <dfdl-wg at ogf.org>
Cc: Steve Hanson/UK/IBM at IBMGB, Rui Mestre <rui.mestre at deimos.com.pt>,
Montserrat Piñol <mpinol at eopp.esa.int>, Maurizio De Bartolomei
<Maurizio.De.Bartolomei at esa.int>, Mike Beckerle <mbeckerle.dfdl at gmail.com>
Date: 25/04/2016 10:18
Subject: [DFDL]: Apply daffodil on S2G mission schemas
Dear Steve/Mike,
we have run some of our DFDL schema through the daffodil parser and
identified 3 issues
described in the attached document. The second is expected, but could you
please
review/comment the first and the last (in red in the text ? )
Thanks
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.
Michele
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ogf.org/pipermail/dfdl-wg/attachments/20160425/fe9affd0/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DFDL_daffodil_issues_commented.pdf
Type: application/octet-stream
Size: 91324 bytes
Desc: not available
URL: <http://www.ogf.org/pipermail/dfdl-wg/attachments/20160425/fe9affd0/attachment-0001.obj>
More information about the dfdl-wg
mailing list